DkmExceptionNameTrigger.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(DkmExceptionProcessingStage, DkmThread, Guid, String) |
Create a new DkmExceptionNameTrigger object instance. |
Create(DkmExceptionProcessingStage, DkmThread, ReadOnlyCollection<DkmExceptionConditionInfo>, Guid, String) |
Create a new DkmExceptionNameTrigger object instance. This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM). |
Create(DkmExceptionProcessingStage, DkmThread, Guid, String)
Create a new DkmExceptionNameTrigger object instance.
public:
static Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionNameTrigger ^ Create(Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionProcessingStage ProcessingStage, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Guid ExceptionCategory, System::String ^ Name);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionNameTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread Thread, Guid ExceptionCategory, string Name);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionNameTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread? Thread, Guid ExceptionCategory, string Name);
static member Create : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage * Microsoft.VisualStudio.Debugger.DkmThread * Guid * string -> Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionNameTrigger
Public Shared Function Create (ProcessingStage As DkmExceptionProcessingStage, Thread As DkmThread, ExceptionCategory As Guid, Name As String) As DkmExceptionNameTrigger
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.
- Name
- String
[In] Name of the exception. For C++ or CLR exceptions, this is the type name. This value will be null for exception categories that identify exceptions by code (ex: Win32 exceptions).
Returns
[Out] Result of this method call.
Applies to
Create(DkmExceptionProcessingStage, DkmThread, ReadOnlyCollection<DkmExceptionConditionInfo>, Guid, String)
Create a new DkmExceptionNameTrigger object instance.
This API was introduced in Visual Studio 15 RTM (DkmApiVersion.VS15RTM).
public:
static Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionNameTrigger ^ 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::String ^ Name);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionNameTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread Thread, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionConditionInfo> ExceptionConditionInfo, Guid ExceptionCategory, string Name);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionNameTrigger Create (Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, Microsoft.VisualStudio.Debugger.DkmThread? Thread, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionConditionInfo>? ExceptionConditionInfo, Guid ExceptionCategory, string Name);
static member Create : Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage * Microsoft.VisualStudio.Debugger.DkmThread * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionConditionInfo> * Guid * string -> Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionNameTrigger
Public Shared Function Create (ProcessingStage As DkmExceptionProcessingStage, Thread As DkmThread, ExceptionConditionInfo As ReadOnlyCollection(Of DkmExceptionConditionInfo), ExceptionCategory As Guid, Name As String) As DkmExceptionNameTrigger
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.
- Name
- String
[In] Name of the exception. For C++ or CLR exceptions, this is the type name. This value will be null for exception categories that identify exceptions by code (ex: Win32 exceptions).
Returns
[Out] Result of this method call.