AsyncResult.Dispose AsyncResult.Dispose AsyncResult.Dispose AsyncResult.Dispose Method

Definition

Releases the resources used by the current instance of the AsyncResult class.

Overloads

Dispose() Dispose() Dispose() Dispose()

Releases the resources used by the current instance of the AsyncResult class.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) 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() Dispose() Dispose() 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

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) 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 Boolean Boolean Boolean

true to release managed and unmanaged resources; false to release only unmanaged resources. true indicates that this is an explicit call to Dispose.

Applies to