Udostępnij za pośrednictwem


DkmILCatchBlock.Create(DkmILFailureReason, Int32) Method

Definition

Create a new DkmILCatchBlock object instance.

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILCatchBlock ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason ErrorCode, int Target);
public:
 static Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILCatchBlock ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason ErrorCode, int Target);
 static Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILCatchBlock Create(Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason ErrorCode, int Target);
public static Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILCatchBlock Create (Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason ErrorCode, int Target);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason * int -> Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILCatchBlock
Public Shared Function Create (ErrorCode As DkmILFailureReason, Target As Integer) As DkmILCatchBlock

Parameters

ErrorCode
DkmILFailureReason

[In] The type of error to catch, "None" to catch all errors.

Target
Int32

[In] The index of the IL instruction to jump to when the catch block executes.

Returns

[Out] Result of this method call.

Applies to