IReminderService.GetReminder 方法

定义

重载

GetReminder(GrainId, String)

获取使用提供的名称注册到指定 grain 的提醒。

GetReminder(GrainReference, String)

GetReminder(GrainId, String)

获取使用提供的名称注册到指定 grain 的提醒。

public System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder> GetReminder (Orleans.Runtime.GrainId grainId, string reminderName);
abstract member GetReminder : Orleans.Runtime.GrainId * string -> System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder>
Public Function GetReminder (grainId As GrainId, reminderName As String) As Task(Of IGrainReminder)

参数

grainId
GrainId

对注册提醒的粒度的引用。

reminderName
String

提醒的名称。

返回

提醒。

适用于

GetReminder(GrainReference, String)

Source:
IReminderService.cs
public System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder> GetReminder (Orleans.Runtime.GrainReference grainRef, string reminderName);
abstract member GetReminder : Orleans.Runtime.GrainReference * string -> System.Threading.Tasks.Task<Orleans.Runtime.IGrainReminder>
Public Function GetReminder (grainRef As GrainReference, reminderName As String) As Task(Of IGrainReminder)

参数

grainRef
GrainReference
reminderName
String

返回

适用于