DocumentClient.Session Property

Definition

Gets or sets the session object used for session consistency version tracking in the Azure Cosmos DB service.

public object Session { get; set; }
member this.Session : obj with get, set
Public Property Session As Object

Property Value

Implements

Remarks

The session object can be saved and shared between two DocumentClient instances within the same AppDomain.

Applies to