Udostępnij za pośrednictwem


ProjectIdentifier(String, String, String) Constructor

Definition

Initializes a new instance of the ProjectIdentifier structure.

public ProjectIdentifier (string name, string? context = default, string? identifier = default);
new Microsoft.VisualStudio.RpcContracts.Utilities.ProjectIdentifier : string * string * string -> Microsoft.VisualStudio.RpcContracts.Utilities.ProjectIdentifier
Public Sub New (name As String, Optional context As String = Nothing, Optional identifier As String = Nothing)

Parameters

name
String

The name of the project in which the diagnostic was generated.

context
String

The context in which the diagnostic was generated (e.g. win32, macOS).

identifier
String

The unique context guid identifier used by the consumer to uniquely identify contexts.

Remarks

Struct creation will automatically assume that this project is not active at the time of creation. Please use the init accessor for IsContextActive to indicate otherwise.

Applies to