你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ReliableCollectionsActorStateProvider.IActorStateProvider.GetRemindersAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从状态提供程序获取提醒列表
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>>>> IActorStateProvider.GetRemindersAsync (int numItemsToReturn, Microsoft.ServiceFabric.Actors.ActorId actorId, Microsoft.ServiceFabric.Actors.Query.ContinuationToken continuationToken, System.Threading.CancellationToken cancellationToken);
abstract member Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.GetRemindersAsync : int * 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>>>>
override this.Microsoft.ServiceFabric.Actors.Runtime.IActorStateProvider.GetRemindersAsync : int * 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>>>>
Function GetRemindersAsync (numItemsToReturn As Integer, actorId As ActorId, continuationToken As ContinuationToken, cancellationToken As CancellationToken) As Task(Of ReminderPagedResult(Of KeyValuePair(Of ActorId, List(Of ActorReminderState)))) Implements IActorStateProvider.GetRemindersAsync
参数
- numItemsToReturn
- Int32
请求返回的项目数。
- actorId
- ActorId
要提取其提醒的 ActorId。 null 值指示服务中的所有执行组件。
- continuationToken
- ContinuationToken
从中开始查询结果的继续标记。 继续标记的 null 值表示开始返回开始的值。
- cancellationToken
- CancellationToken
要监视取消请求的标记。
返回
表示调用服务器的异步操作的任务。