共用方式為


TestConnectionCommand.Dispose Method

Definition

Overloads

Dispose()

IDisposable implementation, dispose of any disposable resources created by the cmdlet.

Dispose(Boolean)

Implementation of IDisposable for both manual Dispose() and finalizer-called disposal of resources.

Dispose()

IDisposable implementation, dispose of any disposable resources created by the cmdlet.

public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Applies to

Dispose(Boolean)

Implementation of IDisposable for both manual Dispose() and finalizer-called disposal of resources.

protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

Specified as true when Dispose() was called, false if this is called from the finalizer.

Applies to