다음을 통해 공유


IStreamSubscriptionManager.AddSubscription 메서드

정의

오버로드

AddSubscription(String, StreamId, GrainReference)

지정된 조직을 스트림에 구독합니다.

AddSubscription(String, IStreamIdentity, GrainReference)

AddSubscription(String, StreamId, GrainReference)

지정된 조직을 스트림에 구독합니다.

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)

매개 변수

streamProviderName
String

스트림 공급자의 이름입니다.

streamId
StreamId

스트림 식별자입니다.

grainRef
GrainReference

조직 참조입니다.

반환

스트림 구독입니다.

적용 대상

AddSubscription(String, IStreamIdentity, GrainReference)

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

매개 변수

streamProviderName
String
streamId
IStreamIdentity
grainRef
GrainReference

반환

적용 대상