DkmProductionConnection.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
DkmProductionConnection is created to connect to a production session.
This API was introduced in Visual Studio 15 Update 2 (DkmApiVersion.VS15Update2).
public:
static Microsoft::VisualStudio::Debugger::DefaultPort::DkmProductionConnection ^ Create(Guid UniqueId, Microsoft::VisualStudio::Debugger::DefaultPort::DkmTransportConnection ^ Connection, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmProductionConnection Create (Guid UniqueId, Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmProductionConnection Create (Guid UniqueId, Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection Connection, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Guid * Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmProductionConnection
Public Shared Function Create (UniqueId As Guid, Connection As DkmTransportConnection, DataItem As DkmDataItem) As DkmProductionConnection
Parameters
- UniqueId
- Guid
[In] Guid which uniquely identifies this object.
- 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.
- DataItem
- DkmDataItem
[In,Optional] Data object to add to the new DkmProductionConnection instance. Pass 'null' in the case that the caller doesn't need to add a data item.
Returns
[Out] Result of this method call.