DistributedSession.LoadAsync 方法

定义

重载

LoadAsync()
LoadAsync(CancellationToken)

从数据存储加载会话。 如果数据存储不可用,可能会引发此事件。

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

返回

实现

适用于

LoadAsync(CancellationToken)

Source:
DistributedSession.cs
Source:
DistributedSession.cs
Source:
DistributedSession.cs

从数据存储加载会话。 如果数据存储不可用,可能会引发此事件。

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

参数

cancellationToken
CancellationToken

返回

实现

适用于