AsyncResult.Dispose Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Releases the resources used by the current instance of the AsyncResult class.
Overloads
Dispose() |
Releases the resources used by the current instance of the AsyncResult class. |
Dispose(Boolean) |
Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the AsyncResult class. |
Dispose()
Releases the resources used by the current instance of the AsyncResult class.
public:
virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()
Implements
Applies to
Dispose(Boolean)
Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the AsyncResult class.
protected:
virtual void Dispose(bool isExplicitDispose);
protected virtual void Dispose (bool isExplicitDispose);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (isExplicitDispose As Boolean)
Parameters
- isExplicitDispose
- Boolean
true
to release managed and unmanaged resources; false
to release only unmanaged resources. true
indicates that this is an explicit call to Dispose.