Edytuj

Udostępnij za pośrednictwem


ClientConfiguration.RegisterStreamProvider Method

Definition

Overloads

RegisterStreamProvider(String, String, IDictionary<String,String>)

Registers a given stream provider.

RegisterStreamProvider<T>(String, IDictionary<String,String>)

Registers a given type of T where T is stream provider

RegisterStreamProvider(String, String, IDictionary<String,String>)

Registers a given stream provider.

public void RegisterStreamProvider (string providerTypeFullName, string providerName, System.Collections.Generic.IDictionary<string,string> properties = default);
member this.RegisterStreamProvider : string * string * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub RegisterStreamProvider (providerTypeFullName As String, providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)

Parameters

providerTypeFullName
String

Full name of the stream provider type

providerName
String

Name of the stream provider

properties
IDictionary<String,String>

Properties that will be passed to the stream provider upon initialization

Applies to

RegisterStreamProvider<T>(String, IDictionary<String,String>)

Registers a given type of T where T is stream provider

public void RegisterStreamProvider<T> (string providerName, System.Collections.Generic.IDictionary<string,string> properties = default) where T : Orleans.Streams.IStreamProvider;
member this.RegisterStreamProvider : string * System.Collections.Generic.IDictionary<string, string> -> unit (requires 'T :> Orleans.Streams.IStreamProvider)
Public Sub RegisterStreamProvider(Of T As IStreamProvider) (providerName As String, Optional properties As IDictionary(Of String, String) = Nothing)

Type Parameters

T

Non-abstract type which implements IStreamProvider stream

Parameters

providerName
String

Name of the stream provider

properties
IDictionary<String,String>

Properties that will be passed to stream provider upon initialization

Applies to