다음을 통해 공유


StreamSubscriptionManagerExtensions.AddSubscription 메서드

정의

오버로드

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, GrainId)

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

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, Guid, String)

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

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, Int64, String)

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

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, String, String)

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

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, Guid, String)
AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, Int64, String)
AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, String, String)
AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, Guid, String, String)

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

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, Int64, String, String)

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

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, Guid, String, String)
AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, Int64, String, String)

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, GrainId)

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

public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Runtime.StreamId streamId, string streamProviderName, Orleans.Runtime.GrainId grainId) where TGrainInterface : Orleans.IGrainWithGuidKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Runtime.StreamId * string * Orleans.Runtime.GrainId -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithGuidKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithGuidKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As StreamId, streamProviderName As String, grainId As GrainId) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

조직 인터페이스 형식입니다.

매개 변수

manager
IStreamSubscriptionManager

관리자입니다.

grainFactory
IGrainFactory

조직 팩터리입니다.

streamId
StreamId

스트림 식별자입니다.

streamProviderName
String

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

grainId
GrainId

구독할 조직입니다.

반환

새로 추가된 구독입니다.

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, Guid, String)

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

public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Runtime.StreamId streamId, string streamProviderName, Guid primaryKey, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithGuidKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Runtime.StreamId * string * Guid * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithGuidKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithGuidKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As StreamId, streamProviderName As String, primaryKey As Guid, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

조직이 기본 구현인 인터페이스입니다.

매개 변수

manager
IStreamSubscriptionManager

관리자입니다.

grainFactory
IGrainFactory

조직 팩터리입니다.

streamId
StreamId

스트림 식별자입니다.

streamProviderName
String

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

primaryKey
Guid

조직의 기본 키입니다.

grainClassNamePrefix
String

조직 클래스 이름 접두사입니다.

반환

새로 추가된 구독입니다.

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, Int64, String)

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

public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Runtime.StreamId streamId, string streamProviderName, long primaryKey, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithIntegerKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Runtime.StreamId * string * int64 * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithIntegerKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithIntegerKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As StreamId, streamProviderName As String, primaryKey As Long, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

조직이 기본 구현인 인터페이스입니다.

매개 변수

manager
IStreamSubscriptionManager

관리자입니다.

grainFactory
IGrainFactory

조직 팩터리입니다.

streamId
StreamId

스트림 식별자입니다.

streamProviderName
String

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

primaryKey
Int64

조직의 기본 키입니다.

grainClassNamePrefix
String

조직 클래스 이름 접두사입니다.

반환

새로 추가된 구독입니다.

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, String, String)

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

public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Runtime.StreamId streamId, string streamProviderName, string primaryKey, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithStringKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Runtime.StreamId * string * string * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithStringKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithStringKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As StreamId, streamProviderName As String, primaryKey As String, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

조직이 기본 구현인 인터페이스입니다.

매개 변수

manager
IStreamSubscriptionManager

관리자입니다.

grainFactory
IGrainFactory

조직 팩터리입니다.

streamId
StreamId

스트림 식별자입니다.

streamProviderName
String

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

primaryKey
String

조직의 기본 키입니다.

grainClassNamePrefix
String

조직 클래스 이름 접두사입니다.

반환

새로 추가된 구독입니다.

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, Guid, String)

Source:
StreamSubscriptionManagerExtensions.cs
public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Streams.IStreamIdentity streamId, string streamProviderName, Guid primaryKey, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithGuidKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Streams.IStreamIdentity * string * Guid * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithGuidKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithGuidKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As IStreamIdentity, streamProviderName As String, primaryKey As Guid, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

매개 변수

grainFactory
IGrainFactory
streamId
IStreamIdentity
streamProviderName
String
primaryKey
Guid
grainClassNamePrefix
String

반환

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, Int64, String)

Source:
StreamSubscriptionManagerExtensions.cs
public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Streams.IStreamIdentity streamId, string streamProviderName, long primaryKey, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithIntegerKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Streams.IStreamIdentity * string * int64 * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithIntegerKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithIntegerKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As IStreamIdentity, streamProviderName As String, primaryKey As Long, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

매개 변수

grainFactory
IGrainFactory
streamId
IStreamIdentity
streamProviderName
String
primaryKey
Int64
grainClassNamePrefix
String

반환

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, String, String)

Source:
StreamSubscriptionManagerExtensions.cs
public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Streams.IStreamIdentity streamId, string streamProviderName, string primaryKey, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithStringKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Streams.IStreamIdentity * string * string * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithStringKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithStringKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As IStreamIdentity, streamProviderName As String, primaryKey As String, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

매개 변수

grainFactory
IGrainFactory
streamId
IStreamIdentity
streamProviderName
String
primaryKey
String
grainClassNamePrefix
String

반환

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, Guid, String, String)

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

public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Runtime.StreamId streamId, string streamProviderName, Guid primaryKey, string keyExtension, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithGuidCompoundKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Runtime.StreamId * string * Guid * string * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithGuidCompoundKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithGuidCompoundKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As StreamId, streamProviderName As String, primaryKey As Guid, keyExtension As String, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

조직이 기본 구현인 인터페이스입니다.

매개 변수

manager
IStreamSubscriptionManager

관리자입니다.

grainFactory
IGrainFactory

조직 팩터리입니다.

streamId
StreamId

스트림 식별자입니다.

streamProviderName
String

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

primaryKey
Guid

조직의 기본 키입니다.

keyExtension
String

조직의 키 확장입니다.

grainClassNamePrefix
String

조직 클래스 이름 접두사입니다.

반환

새로 추가된 구독입니다.

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, StreamId, String, Int64, String, String)

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

public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Runtime.StreamId streamId, string streamProviderName, long primaryKey, string keyExtension, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithIntegerCompoundKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Runtime.StreamId * string * int64 * string * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithIntegerCompoundKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithIntegerCompoundKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As StreamId, streamProviderName As String, primaryKey As Long, keyExtension As String, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

조직이 기본 구현인 인터페이스입니다.

매개 변수

manager
IStreamSubscriptionManager

관리자입니다.

grainFactory
IGrainFactory

조직 팩터리입니다.

streamId
StreamId

스트림 식별자입니다.

streamProviderName
String

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

primaryKey
Int64

조직의 기본 키입니다.

keyExtension
String

조직의 키 확장입니다.

grainClassNamePrefix
String

조직 클래스 이름 접두사입니다.

반환

새로 추가된 구독입니다.

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, Guid, String, String)

Source:
StreamSubscriptionManagerExtensions.cs
public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Streams.IStreamIdentity streamId, string streamProviderName, Guid primaryKey, string keyExtension, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithGuidCompoundKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Streams.IStreamIdentity * string * Guid * string * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithGuidCompoundKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithGuidCompoundKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As IStreamIdentity, streamProviderName As String, primaryKey As Guid, keyExtension As String, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

매개 변수

grainFactory
IGrainFactory
streamId
IStreamIdentity
streamProviderName
String
primaryKey
Guid
keyExtension
String
grainClassNamePrefix
String

반환

적용 대상

AddSubscription<TGrainInterface>(IStreamSubscriptionManager, IGrainFactory, IStreamIdentity, String, Int64, String, String)

Source:
StreamSubscriptionManagerExtensions.cs
public static System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> AddSubscription<TGrainInterface> (this Orleans.Streams.Core.IStreamSubscriptionManager manager, Orleans.IGrainFactory grainFactory, Orleans.Streams.IStreamIdentity streamId, string streamProviderName, long primaryKey, string keyExtension, string grainClassNamePrefix = default) where TGrainInterface : Orleans.IGrainWithIntegerCompoundKey;
static member AddSubscription : Orleans.Streams.Core.IStreamSubscriptionManager * Orleans.IGrainFactory * Orleans.Streams.IStreamIdentity * string * int64 * string * string -> System.Threading.Tasks.Task<Orleans.Streams.Core.StreamSubscription> (requires 'GrainInterface :> Orleans.IGrainWithIntegerCompoundKey)
<Extension()>
Public Function AddSubscription(Of TGrainInterface As IGrainWithIntegerCompoundKey) (manager As IStreamSubscriptionManager, grainFactory As IGrainFactory, streamId As IStreamIdentity, streamProviderName As String, primaryKey As Long, keyExtension As String, Optional grainClassNamePrefix As String = Nothing) As Task(Of StreamSubscription)

형식 매개 변수

TGrainInterface

매개 변수

grainFactory
IGrainFactory
streamId
IStreamIdentity
streamProviderName
String
primaryKey
Int64
keyExtension
String
grainClassNamePrefix
String

반환

적용 대상