DistributedSession.LoadAsync Method
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.
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
Implements
Applies to
LoadAsync(CancellationToken)
- Source:
- DistributedSession.cs
- Source:
- DistributedSession.cs
- Source:
- DistributedSession.cs
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