IStreamSubscriptionManager.AddSubscription Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddSubscription(String, StreamId, GrainReference) |
Suscribe el grano especificado a una secuencia. |
AddSubscription(String, IStreamIdentity, GrainReference) |
AddSubscription(String, StreamId, GrainReference)
Suscribe el grano especificado a una secuencia.
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
Nombre del proveedor de secuencias.
- streamId
- StreamId
Identificador del flujo.
- grainRef
- GrainReference
Referencia de grano.
Devoluciones
La suscripción de flujo.
Se aplica a
AddSubscription(String, IStreamIdentity, GrainReference)
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