共用方式為


DkmExceptionCategoryTrigger.Create Method

Definition

Overloads

Create(DkmExceptionProcessingStage, DkmThread, Guid)

Create a new DkmExceptionCategoryTrigger object instance.

Create(DkmExceptionProcessingStage, DkmThread, ReadOnlyCollection<DkmExceptionConditionInfo>, Guid)

Create a new DkmExceptionCategoryTrigger object instance.

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

Create(DkmExceptionProcessingStage, DkmThread, Guid)

Create a new DkmExceptionCategoryTrigger object instance.

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

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.

ExceptionCategory
Guid

[In] Indicates the type of exception.

Returns

[Out] Result of this method call.

Applies to

Create(DkmExceptionProcessingStage, DkmThread, ReadOnlyCollection<DkmExceptionConditionInfo>, Guid)

Create a new DkmExceptionCategoryTrigger object instance.

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

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

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.

ExceptionCategory
Guid

[In] Indicates the type of exception.

Returns

[Out] Result of this method call.

Applies to