共用方式為


IStreamSubscriptionManager.AddSubscription 方法

定義

多載

AddSubscription(String, StreamId, GrainReference)

將指定的粒紋訂閱至資料流程。

AddSubscription(String, IStreamIdentity, GrainReference)

AddSubscription(String, StreamId, GrainReference)

將指定的粒紋訂閱至資料流程。

public System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription (string streamProviderName, Orleans.Runtime.StreamId streamId, Orleans.Runtime.GrainReference grainRef);
abstract member AddSubscription : string * Orleans.Runtime.StreamId * Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription>
Public Function AddSubscription (streamProviderName As String, streamId As StreamId, grainRef As GrainReference) As Task(Of StreamSubscription)

參數

streamProviderName
String

資料流程提供者的名稱。

streamId
StreamId

資料流識別碼。

grainRef
GrainReference

粒紋參考。

傳回

資料流程訂閱。

適用於

AddSubscription(String, IStreamIdentity, GrainReference)

來源:
IStreamSubscriptionManager.cs
public System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription (string streamProviderName, Orleans.Streams.IStreamIdentity streamId, Orleans.Runtime.GrainReference grainRef);
abstract member AddSubscription : string * Orleans.Streams.IStreamIdentity * Orleans.Runtime.GrainReference -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription>
Public Function AddSubscription (streamProviderName As String, streamId As IStreamIdentity, grainRef As GrainReference) As Task(Of StreamSubscription)

參數

streamProviderName
String
streamId
IStreamIdentity
grainRef
GrainReference

傳回

適用於