Share via


IVsDebugProcessNotify.BeforeStopDebuggingProcess Method

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

'Declaration
Function BeforeStopDebuggingProcess ( _
    Reason As UInteger _
) As Integer
int BeforeStopDebuggingProcess(
    uint Reason
)
int BeforeStopDebuggingProcess(
    [InAttribute] unsigned int Reason
)
abstract BeforeStopDebuggingProcess : 
        Reason:uint32 -> int 
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.

.NET Framework Security

See Also

Reference

IVsDebugProcessNotify Interface

Microsoft.VisualStudio.Shell.Interop Namespace