共用方式為


DkmManagedHeapSampler.Close Method

Definition

Closes a DkmManagedHeapSampler object instance. This will release any resources associated with this object across all components. This includes resources across computer or managed/native marshalling boundaries.

DkmManagedHeapSampler objects are automatically closed when their associated DkmRuntimeInstance object is closed.

This method may only be called by the component which created the object.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

public:
 void Close();
public:
 void Close();
void Close();
public void Close ();
member this.Close : unit -> unit
Public Sub Close ()

Applies to