IStreamSubscriptionObserver.OnSubscribed 方法

定义

当此 grain 收到尚未显式订阅或恢复的流的消息时调用。

public System.Threading.Tasks.Task OnSubscribed (Orleans.Streams.Core.IStreamSubscriptionHandleFactory handleFactory);
abstract member OnSubscribed : Orleans.Streams.Core.IStreamSubscriptionHandleFactory -> System.Threading.Tasks.Task
Public Function OnSubscribed (handleFactory As IStreamSubscriptionHandleFactory) As Task

参数

handleFactory
IStreamSubscriptionHandleFactory

句柄工厂。

返回

表示 Task 操作的 。

适用于