Share via


DkmClrCaughtExceptionInformation.Create Method

Definition

Create a new DkmClrCaughtExceptionInformation object instance.

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

public:
 static Microsoft::VisualStudio::Debugger::Clr::DkmClrCaughtExceptionInformation ^ Create(Microsoft::VisualStudio::Debugger::DkmThread ^ Thread, long FrameStart, long FrameEnd, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ InstructionAddress, System::UInt32 CatchHandlerILOffset, System::String ^ Name);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrCaughtExceptionInformation Create (Microsoft.VisualStudio.Debugger.DkmThread Thread, long FrameStart, long FrameEnd, Microsoft.VisualStudio.Debugger.DkmInstructionAddress InstructionAddress, uint CatchHandlerILOffset, string Name);
static member Create : Microsoft.VisualStudio.Debugger.DkmThread * int64 * int64 * Microsoft.VisualStudio.Debugger.DkmInstructionAddress * uint32 * string -> Microsoft.VisualStudio.Debugger.Clr.DkmClrCaughtExceptionInformation
Public Shared Function Create (Thread As DkmThread, FrameStart As Long, FrameEnd As Long, InstructionAddress As DkmInstructionAddress, CatchHandlerILOffset As UInteger, Name As String) As DkmClrCaughtExceptionInformation

Parameters

Thread
DkmThread

[In] DkmThread represents a thread running in the target process.

FrameStart
Int64

[In] Start Address the current frame.

FrameEnd
Int64

[In] End Address the current frame.

InstructionAddress
DkmInstructionAddress

[In] The Instruction address for this caught exception.

CatchHandlerILOffset
UInt32

[In] The IL offset of the catch handler which is about to catch this exception.

Name
String

[In] Name of the Exception.

Returns

[Out] Result of this method call.

Applies to