Condividi tramite


IStreamSubscriptionManager.AddSubscription Metodo

Definizione

Overload

AddSubscription(String, StreamId, GrainReference)

Sottoscrive il granularità specificato in un flusso.

AddSubscription(String, IStreamIdentity, GrainReference)

AddSubscription(String, StreamId, GrainReference)

Sottoscrive il granularità specificato in un flusso.

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)

Parametri

streamProviderName
String

Nome del provider di flusso.

streamId
StreamId

Identificatore di flusso.

grainRef
GrainReference

Riferimento alla granularità.

Restituisce

Sottoscrizione di flusso.

Si applica a

AddSubscription(String, IStreamIdentity, GrainReference)

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

Parametri

streamProviderName
String
streamId
IStreamIdentity
grainRef
GrainReference

Restituisce

Si applica a