DkmClrExceptionInformation.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.
Create a new DkmClrExceptionInformation object instance.
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrExceptionInformation ^ Create(Microsoft::VisualStudio::Debugger::DkmRuntimeInstance ^ RuntimeInstance, Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionProcessingStage ProcessingStage, System::String ^ Name, Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionAddress ^ InstructionAddress);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrExceptionInformation Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, string Name, Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress InstructionAddress);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrExceptionInformation Create (Microsoft.VisualStudio.Debugger.DkmRuntimeInstance RuntimeInstance, Microsoft.VisualStudio.Debugger.DkmThread Thread, Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage ProcessingStage, string Name, Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress? InstructionAddress);
static member Create : Microsoft.VisualStudio.Debugger.DkmRuntimeInstance * Microsoft.VisualStudio.Debugger.DkmThread * Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionProcessingStage * string * Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionAddress -> Microsoft.VisualStudio.Debugger.Clr.DkmClrExceptionInformation
Public Shared Function Create (RuntimeInstance As DkmRuntimeInstance, Thread As DkmThread, ProcessingStage As DkmExceptionProcessingStage, Name As String, InstructionAddress As DkmClrInstructionAddress) As DkmClrExceptionInformation
Parameters
- RuntimeInstance
- DkmRuntimeInstance
[In] The DkmRuntimeInstance class represents an execution environment which is loaded into a DkmProcess and which contains code to be debugged.
- Thread
- DkmThread
[In] DkmThread represents a thread running in the target process.
- ProcessingStage
- DkmExceptionProcessingStage
[In] The debugger receives notifications from the target process at various stages within exception processing (ex: exception thrown, exception unhandled). This enumeration indicates the stage(s) for a notification.
- Name
- String
[In] Type name of the exception. Example: 'System.NullReferenceException'.
- InstructionAddress
- DkmClrInstructionAddress
[In,Optional] Address where the exception occurred. This will be null if the CLR exception occurred inside the runtime when no managed code was on the stack.
Returns
[Out] Result of this method call.