Compartilhar via


IStreamSubscriptionManager.AddSubscription Método

Definição

Sobrecargas

AddSubscription(String, StreamId, GrainReference)

Assina a granularidade especificada em um fluxo.

AddSubscription(String, IStreamIdentity, GrainReference)

AddSubscription(String, StreamId, GrainReference)

Assina a granularidade especificada em um fluxo.

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)

Parâmetros

streamProviderName
String

Nome do provedor de fluxo.

streamId
StreamId

O identificador do fluxo.

grainRef
GrainReference

A referência de granularidade.

Retornos

A assinatura de fluxo.

Aplica-se a

AddSubscription(String, IStreamIdentity, GrainReference)

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

Parâmetros

streamProviderName
String
streamId
IStreamIdentity
grainRef
GrainReference

Retornos

Aplica-se a