Provides notification and the reason for stopping the debugger before actually stopping the debug process.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function BeforeStopDebuggingProcess ( _
Reason As UInteger _
) As Integer
'使用
Dim instance As IVsDebugProcessNotify
Dim Reason As UInteger
Dim returnValue As Integer
returnValue = instance.BeforeStopDebuggingProcess(Reason)
int BeforeStopDebuggingProcess(
uint Reason
)
int BeforeStopDebuggingProcess(
[InAttribute] unsigned int Reason
)
function BeforeStopDebuggingProcess(
Reason : uint
) : int
Parameters
Reason
Type: System.UInt32[In] The reason for stopping the debugging process—a value of type STOP_DEBUGGING_PROCESS_REASON
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.