ITestHostHandle.Identifier Property

Definition

Gets an optional, free-form identifier for the launched test host, used only for diagnostics.

public string? Identifier { get; }
member this.Identifier : string
Public ReadOnly Property Identifier As String

Property Value

Remarks

The value can be anything meaningful for the launch mechanism — for example a process id, a container id, or a remote host:pid. Returns null when the launcher has nothing useful to surface. The platform never relies on this value for control flow.

Applies to