FoundryEnvironment.SessionInstanceId Property
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.
The system-generated session incarnation identifier. Sourced from the
FOUNDRY_AGENT_SESSION_GUID environment variable.
public static Guid? SessionInstanceId { get; }
static member SessionInstanceId : Nullable<Guid>
Public Shared ReadOnly Property SessionInstanceId As Nullable(Of Guid)
Property Value
Remarks
Unlike SessionId, which is the logical public session identity, this value is an internal identifier unique to one hosted session incarnation, independent of the session name. It changes when a session is recreated. Responses uses it to avoid reusing a durable task ID whose prior session was deleted and tombstoned by the service. In hosted environments, a non-empty value must be exactly 32 lowercase hexadecimal characters.