共用方式為


CompletionSet.Dispose Method

Definition

Deallocates any resources just before the CompletionSet object is destroyed.

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

Implements

Remarks

If you derive a class from the CompletionSet class and you allocate any resources in your class, override this method and call the base method after you have deallocated your own resources.

Applies to