你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IActorService.GetRemindersAsync 方法

定义

获取提醒列表。

public System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Query.ReminderPagedResult<System.Collections.Generic.KeyValuePair<Microsoft.ServiceFabric.Actors.ActorId,System.Collections.Generic.List<Microsoft.ServiceFabric.Actors.Runtime.ActorReminderState>>>> GetRemindersAsync (Microsoft.ServiceFabric.Actors.ActorId actorId, Microsoft.ServiceFabric.Actors.Query.ContinuationToken continuationToken, System.Threading.CancellationToken cancellationToken);
abstract member GetRemindersAsync : Microsoft.ServiceFabric.Actors.ActorId * Microsoft.ServiceFabric.Actors.Query.ContinuationToken * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Actors.Query.ReminderPagedResult<System.Collections.Generic.KeyValuePair<Microsoft.ServiceFabric.Actors.ActorId, System.Collections.Generic.List<Microsoft.ServiceFabric.Actors.Runtime.ActorReminderState>>>>
Public Function GetRemindersAsync (actorId As ActorId, continuationToken As ContinuationToken, cancellationToken As CancellationToken) As Task(Of ReminderPagedResult(Of KeyValuePair(Of ActorId, List(Of ActorReminderState))))

参数

actorId
ActorId

要提取其提醒的 ActorId。 null 值指示服务中的所有执行组件。

continuationToken
ContinuationToken

从中开始查询结果的继续标记。 继续标记的 null 值表示开始返回开始的值。

cancellationToken
CancellationToken

要监视取消请求的标记。

返回

表示调用服务器的异步操作的任务。

例外

该操作已取消。

适用于