Επεξεργασία

Κοινή χρήση μέσω


WindowsClaimSet.Dispose Method

Definition

Releases all resources used by the WindowsClaimSet.

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

Implements

Remarks

Call the Dispose method when you are finished using the WindowsClaimSet. The Dispose method leaves the WindowsClaimSet in an unusable state. After calling the Dispose method, you must release all references to the WindowsClaimSet so that the garbage collector can reclaim the memory that the WindowsClaimSet occupied. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

Note

Always call the Dispose method before you release your last reference to the WindowsClaimSet. Otherwise, the resources it is using are not freed until the garbage collector calls the WindowsClaimSet object's Finalize method.

Applies to