Class Disposable
Common disposable pattern
Implements
Inherited Members
Namespace: Microsoft.Graph.Communications.Common
Assembly: Microsoft.Graph.Communications.Common.dll
Syntax
public class Disposable : IDisposable
Constructors
Disposable()
Declaration
public Disposable()
Properties
IsDisposed
Gets a value indicating whether this instance is disposed.
Declaration
protected bool IsDisposed { get; }
Property Value
Type | Description |
---|---|
Boolean |
|
Methods
Dispose()
Dispose resources.
Declaration
public void Dispose()
Dispose(Boolean)
Protected implementation of dispose. This will be triggered only once regardless if manually disposed or garbage collected.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing |
|
Finalize()
Finalizes an instance of the Disposable class.
Declaration
protected void Finalize()