Share via


DkmPublishedProgramInfo.Create(String, ReadOnlyCollection<Guid>) Method

Definition

Create a new DkmPublishedProgramInfo object instance.

public:
 static Microsoft::VisualStudio::Debugger::DefaultPort::DkmPublishedProgramInfo ^ Create(System::String ^ FriendlyName, System::Collections::ObjectModel::ReadOnlyCollection<Guid> ^ EngineIds);
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmPublishedProgramInfo Create (string FriendlyName, System.Collections.ObjectModel.ReadOnlyCollection<Guid> EngineIds);
public static Microsoft.VisualStudio.Debugger.DefaultPort.DkmPublishedProgramInfo Create (string? FriendlyName, System.Collections.ObjectModel.ReadOnlyCollection<Guid> EngineIds);
static member Create : string * System.Collections.ObjectModel.ReadOnlyCollection<Guid> -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmPublishedProgramInfo
Public Shared Function Create (FriendlyName As String, EngineIds As ReadOnlyCollection(Of Guid)) As DkmPublishedProgramInfo

Parameters

FriendlyName
String

[In,Optional] A friendly name for the program. This may be displayed in the attach to processes window. This is exposed to the AD7 API via IDebugProgramNode2.GetHostName(GHN_FRIENDLY_NAME).

EngineIds
ReadOnlyCollection<Guid>

[In] The collection of engines which are capable of debugging this code. Generally, this collection only has one entry. For script, this value is DkmEngineId.Script.

Returns

[Out] Result of this method call.

Applies to