共用方式為


SecurityProvider.Dispose Method

Definition

Overloads

Dispose()

Releases the unmanaged resources and disposes of the managed resources used by the invoker.

Dispose(Boolean)

Releases the unmanaged resources used by the SecurityProvider and optionally disposes of the managed resources.

Dispose()

Releases the unmanaged resources and disposes of the managed resources used by the invoker.

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

Implements

Applies to

Dispose(Boolean)

Releases the unmanaged resources used by the SecurityProvider and optionally disposes of the managed resources.

protected abstract void Dispose (bool disposing);
abstract member Dispose : bool -> unit
Protected MustOverride Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

true to release both managed and unmanaged resources; false to releases only unmanaged resources.

Applies to