Class DisposableObject
An object that implements the IDisposable interface and the disposable pattern.
Implements
Inherited Members
Namespace: GitCredentialManager
Assembly: Algenta.Colectica.Repository.Client.dll
Syntax
public abstract class DisposableObject : IDisposable
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
~DisposableObject()
Declaration
protected ~DisposableObject()
ReleaseManagedResources()
Called when managed resources should be released.
Declaration
protected virtual void ReleaseManagedResources()
ReleaseUnmanagedResources()
Called when unmanaged resources should be released and memory freed.
Declaration
protected virtual void ReleaseUnmanagedResources()
ThrowIfDisposed()
Throw an exception if the object has been disposed.
Declaration
protected void ThrowIfDisposed()
Exceptions
Type | Condition |
---|---|
ObjectDisposedException | Thrown if the object has been disposed. |