共用方式為


DkmCustomMessage.OnCustomStop(DkmThread, Guid) Method

Definition

Raises a CustomStop event to a VS service which is expecting it. Note that there are restrictions on the type for parameters to this custom message. See DkmCustomMessage.SendToVsService for more information.

public:
 void OnCustomStop(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Guid VsService);
public void OnCustomStop (Microsoft.VisualStudio.Debugger.DkmThread Thread, Guid VsService);
member this.OnCustomStop : Microsoft.VisualStudio.Debugger.DkmThread * Guid -> unit
Public Sub OnCustomStop (Thread As DkmThread, VsService As Guid)

Parameters

Thread
DkmThread

[In] DkmThread represents a thread running in the target process.

VsService
Guid

[In] Visual Studio service that this event should be sent to. A VS package must register this service id (ex: Software\Microsoft\VisualStudio$(ver)\Services{VsService}) and this package must implement the IVsCustomDebuggerStoppingEventHandler110 interface.

Applies to