Transaction.Dispose Method

Definition

Overloads

Dispose()

Releases all resources used by this object.

Dispose(Boolean)

Releases the unmanaged resources used by this object and optionally releases the managed resources.

Dispose()

Releases all resources used by this object.

public:
 virtual void Dispose();
public void Dispose ();
Public Sub Dispose ()

Implements

Remarks

Calling Dispose() allows the resources used by this object to be freed.

Applies to

Dispose(Boolean)

Releases the unmanaged resources used by this object and optionally releases the managed resources.

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
Protected Overridable Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

Remarks

If a wait handle was retrieved from the server agent, do not use it; this method invalidates it.

Applies to