Compartilhar via


DkmExceptionDetails.Create Method

Definition

Create a new DkmExceptionDetails object instance.

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

public:
 static Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionDetails ^ Create(Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ InspectionSession, Microsoft::VisualStudio::Debugger::Exceptions::DkmExceptionInformation ^ Exception, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionDetails Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation Exception, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionDetails Create (Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession InspectionSession, Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation Exception, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession * Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionInformation * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.Exceptions.DkmExceptionDetails
Public Shared Function Create (InspectionSession As DkmInspectionSession, Exception As DkmExceptionInformation, DataItem As DkmDataItem) As DkmExceptionDetails

Parameters

InspectionSession
DkmInspectionSession

[In] The inspection session used to track the lifetime of this instance.

Exception
DkmExceptionInformation

[In] The original exception object. This is always for the original raised exception. If this DkmExceptionDetails came from GetInnerException, this value still represents the containing exception.

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmExceptionDetails instance. Pass 'null' in the case that the caller doesn't need to add a data item.

Returns

[Out] Result of this method call.

Applies to