StreamSubscription 构造函数

定义

重载

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)

Source:
StreamSubscription.cs
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

适用于