Udostępnij za pośrednictwem


DkmExceptionCodeTrigger.Create Method

Definition

Overloads

Create(DkmExceptionProcessingStage, DkmThread, Guid, UInt32)

Create a new DkmExceptionCodeTrigger object instance.

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

Create a new DkmExceptionCodeTrigger object instance.

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

Create(DkmExceptionProcessingStage, DkmThread, Guid, UInt32)

Create a new DkmExceptionCodeTrigger object instance.

public:
 static Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionCodeTrigger ^ Create(Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionProcessingStage ProcessingStage, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Guid ExceptionCategory, System::UInt32 Code);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionCodeTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread Thread, Guid ExceptionCategory, uint Code);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionCodeTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread? Thread, Guid ExceptionCategory, uint Code);
static member Create : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage * Microsoft.VisualStudio.Debugger.DkmThread * Guid * uint32 -> Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionCodeTrigger
Public Shared Function Create (ProcessingStage As DkmExceptionProcessingStage, Thread As DkmThread, ExceptionCategory As Guid, Code As UInteger) As DkmExceptionCodeTrigger

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.

Code
UInt32

[In] 32-bit integer code for the exception. For Win32 exceptions, this is the code passed to RaiseException (ex:EXCEPTION_ACCESS_VIOLATION). This value is zero for exception categories that identify exceptions by string (ex: CLR).

Returns

[Out] Result of this method call.

Applies to

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

Create a new DkmExceptionCodeTrigger object instance.

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

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

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.

Code
UInt32

[In] 32-bit integer code for the exception. For Win32 exceptions, this is the code passed to RaiseException (ex:EXCEPTION_ACCESS_VIOLATION). This value is zero for exception categories that identify exceptions by string (ex: CLR).

Returns

[Out] Result of this method call.

Applies to