IReminderService.GetReminders 方法

定义

重载

GetReminders(GrainId)

获取为指定粒度注册的所有提醒。

GetReminders(GrainReference)

GetReminders(GrainId)

获取为指定粒度注册的所有提醒。

public System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Runtime.IGrainReminder>> GetReminders (Orleans.Runtime.GrainId grainId);
abstract member GetReminders : Orleans.Runtime.GrainId -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Runtime.IGrainReminder>>
Public Function GetReminders (grainId As GrainId) As Task(Of List(Of IGrainReminder))

参数

grainId
GrainId

对 grain 的引用。

返回

指定粒度的所有已注册提醒的列表。

适用于

GetReminders(GrainReference)

Source:
IReminderService.cs
public System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Runtime.IGrainReminder>> GetReminders (Orleans.Runtime.GrainReference grainRef);
abstract member GetReminders : Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task<System.Collections.Generic.List<Orleans.Runtime.IGrainReminder>>
Public Function GetReminders (grainRef As GrainReference) As Task(Of List(Of IGrainReminder))

参数

grainRef
GrainReference

返回

适用于