Freigeben über


IStreamSubscriptionManager.AddSubscription Methode

Definition

Überlädt

AddSubscription(String, StreamId, GrainReference)

Abonniert das angegebene Grain für einen Stream.

AddSubscription(String, IStreamIdentity, GrainReference)

AddSubscription(String, StreamId, GrainReference)

Abonniert das angegebene Grain für einen Stream.

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)

Parameter

streamProviderName
String

Name des Streamanbieters.

streamId
StreamId

Der Datenstrombezeichner.

grainRef
GrainReference

Der Körnungsverweis.

Gibt zurück

Das Streamabonnement.

Gilt für:

AddSubscription(String, IStreamIdentity, GrainReference)

Quelle:
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)

Parameter

streamProviderName
String
streamId
IStreamIdentity
grainRef
GrainReference

Gibt zurück

Gilt für: