Show / Hide Table of Contents

Class DisposableObject

An object that implements the IDisposable interface and the disposable pattern.

Inheritance
object
DisposableObject
Trace
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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.

Implements

IDisposable
In this article
Back to top Generated by DocFX