DkmInspectionSession.Create(DkmProcess, DkmDataItem) Method

Definition

Create a new DkmInspectionSession object instance. The caller is responsible for closing the created object after they are done.

public:
 static Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ Create(Microsoft::VisualStudio::Debugger::DkmProcess ^ Process, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession Create (Microsoft.VisualStudio.Debugger.DkmProcess Process, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession Create (Microsoft.VisualStudio.Debugger.DkmProcess Process, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Microsoft.VisualStudio.Debugger.DkmProcess * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession
Public Shared Function Create (Process As DkmProcess, DataItem As DkmDataItem) As DkmInspectionSession

Parameters

Process
DkmProcess

[In] DkmProcess represents a target process which is being debugged. The debugger debugs processes, so this is the basic unit of debugging. A DkmProcess can represent a system process or a virtual process such as minidumps.

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmInspectionSession 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