StreamSubscription 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
StreamSubscription(Guid, String, StreamId, GrainId) |
初始化 StreamSubscription 類別的新執行個體。 |
StreamSubscription(Guid, String, IStreamIdentity, IGrainIdentity) |
StreamSubscription(Guid, String, StreamId, GrainId)
初始化 StreamSubscription 類別的新執行個體。
public StreamSubscription (Guid subscriptionId, string streamProviderName, Orleans.Runtime.StreamId streamId, Orleans.Runtime.GrainId grainId);
new Orleans.Streams.Core.StreamSubscription : Guid * string * Orleans.Runtime.StreamId * Orleans.Runtime.GrainId -> Orleans.Streams.Core.StreamSubscription
Public Sub New (subscriptionId As Guid, streamProviderName As String, streamId As StreamId, grainId As GrainId)
參數
- subscriptionId
- Guid
訂用帳戶識別碼。
- streamProviderName
- String
資料流程提供者的名稱。
- streamId
- StreamId
資料流識別碼。
- grainId
- GrainId
粒紋識別碼。
適用於
StreamSubscription(Guid, String, IStreamIdentity, IGrainIdentity)
public StreamSubscription (Guid subscriptionId, string streamProviderName, Orleans.Streams.IStreamIdentity streamId, Orleans.Core.IGrainIdentity grainId);
new Orleans.Streams.Core.StreamSubscription : Guid * string * Orleans.Streams.IStreamIdentity * Orleans.Core.IGrainIdentity -> Orleans.Streams.Core.StreamSubscription
Public Sub New (subscriptionId As Guid, streamProviderName As String, streamId As IStreamIdentity, grainId As IGrainIdentity)
參數
- subscriptionId
- Guid
- streamProviderName
- String
- streamId
- IStreamIdentity
- grainId
- IGrainIdentity