Udostępnij za pośrednictwem


DkmExceptionGlobalTrigger.Create Method

Definition

Overloads

Create(DkmExceptionProcessingStage, DkmThread)

Create a new DkmExceptionGlobalTrigger object instance.

Create(DkmExceptionProcessingStage, DkmThread, ReadOnlyCollection<DkmExceptionConditionInfo>)

Create a new DkmExceptionGlobalTrigger object instance.

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

Create(DkmExceptionProcessingStage, DkmThread)

Create a new DkmExceptionGlobalTrigger object instance.

public:
 static Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionGlobalTrigger ^ Create(Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionProcessingStage ProcessingStage, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionGlobalTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread Thread);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionGlobalTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread? Thread);
static member Create : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage * Microsoft.VisualStudio.Debugger.DkmThread -> Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionGlobalTrigger
Public Shared Function Create (ProcessingStage As DkmExceptionProcessingStage, Thread As DkmThread) As DkmExceptionGlobalTrigger

Parameters

ProcessingStage
DkmExceptionProcessingStage

[In] The debugger receives notifications from the target process at various stages within exception processing (ex: exception thrown, exception unhandled). This enumeration is a bit mask of which of these stages the trigger should fire for.

Thread
DkmThread

[In,Optional] Thread on which this trigger applies. If null, the trigger will be examined for all threads.

Returns

[Out] Result of this method call.

Applies to

Create(DkmExceptionProcessingStage, DkmThread, ReadOnlyCollection<DkmExceptionConditionInfo>)

Create a new DkmExceptionGlobalTrigger object instance.

This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).

public:
 static Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionGlobalTrigger ^ Create(Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionProcessingStage ProcessingStage, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionConditionInfo ^> ^ ExceptionConditionInfo);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionGlobalTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread Thread, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionConditionInfo> ExceptionConditionInfo);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionGlobalTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread? Thread, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionConditionInfo>? ExceptionConditionInfo);
static member Create : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage * Microsoft.VisualStudio.Debugger.DkmThread * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionConditionInfo> -> Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionGlobalTrigger
Public Shared Function Create (ProcessingStage As DkmExceptionProcessingStage, Thread As DkmThread, ExceptionConditionInfo As ReadOnlyCollection(Of DkmExceptionConditionInfo)) As DkmExceptionGlobalTrigger

Parameters

ProcessingStage
DkmExceptionProcessingStage

[In] The debugger receives notifications from the target process at various stages within exception processing (ex: exception thrown, exception unhandled). This enumeration is a bit mask of which of these stages the trigger should fire for.

Thread
DkmThread

[In,Optional] Thread on which this trigger applies. If null, the trigger will be examined for all threads.

ExceptionConditionInfo
ReadOnlyCollection<DkmExceptionConditionInfo>

[In,Optional] Exception condition information.

Returns

[Out] Result of this method call.

Applies to