DistributedSession.LoadAsync Method

Definition

Overloads

LoadAsync()
LoadAsync(CancellationToken)

Load the session from the data store. This may throw if the data store is unavailable.

LoadAsync()

public:
 virtual System::Threading::Tasks::Task ^ LoadAsync();
public System.Threading.Tasks.Task LoadAsync ();
abstract member LoadAsync : unit -> System.Threading.Tasks.Task
override this.LoadAsync : unit -> System.Threading.Tasks.Task
Public Function LoadAsync () As Task

Returns

Task

Implements

Applies to

LoadAsync(CancellationToken)

Load the session from the data store. This may throw if the data store is unavailable.

public System.Threading.Tasks.Task LoadAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member LoadAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.LoadAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function LoadAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

Returns

Task

Implements

Applies to