Share via


DkmRecordedProcessInfo.Create Method

Definition

Creates a new recorded process object. This method is called from the base debug monitor.

Location constraint: API must be called from a Monitor component (component level < 100,000).

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTM).

public:
 static Microsoft::VisualStudio::Debugger::DefaultPort::DkmRecordedProcessInfo ^ Create(Microsoft::VisualStudio::Debugger::DefaultPort::DkmTransportConnection ^ Connection, System::String ^ Path, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmRecordedProcessInfo Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, string Path, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmRecordedProcessInfo Create (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, string Path, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * string * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmRecordedProcessInfo
Public Shared Function Create (Connection As DkmTransportConnection, Path As String, DataItem As DkmDataItem) As DkmRecordedProcessInfo

Parameters

Connection
DkmTransportConnection

[In] Connection used to send the message to the debugger. This will value is usually obtained from DkmProcess.Connection unless the message needs to be sent before the DkmProcess is created.

Path
String

[In] Full path to the file.

DataItem
DkmDataItem

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