Compartilhar via


AzureConfigurationExtensions.AddAzureQueueStreamProvider Método

Definição

Sobrecargas

AddAzureQueueStreamProvider(ClientConfiguration, String, String, Int32, String, Int32, PersistentStreamProviderState, PersistentStreamProviderConfig)

Adiciona um provedor de fluxo do tipo AzureQueueStreamProvider.

AddAzureQueueStreamProvider(ClusterConfiguration, String, String, Int32, String, Int32, PersistentStreamProviderState, PersistentStreamProviderConfig)

Adiciona um provedor de fluxo do tipo AzureQueueStreamProvider.

AddAzureQueueStreamProvider(ClientConfiguration, String, String, Int32, String, Int32, PersistentStreamProviderState, PersistentStreamProviderConfig)

Adiciona um provedor de fluxo do tipo AzureQueueStreamProvider.

public static void AddAzureQueueStreamProvider (this Orleans.Runtime.Configuration.ClientConfiguration config, string providerName, string connectionString = default, int numberOfQueues = 8, string deploymentId = default, int cacheSize = 4096, Orleans.Providers.Streams.Common.PersistentStreamProviderState startupState = Orleans.Providers.Streams.Common.PersistentStreamProviderState.AgentsStarted, Orleans.Streams.PersistentStreamProviderConfig persistentStreamProviderConfig = default);
static member AddAzureQueueStreamProvider : Orleans.Runtime.Configuration.ClientConfiguration * string * string * int * string * int * Orleans.Providers.Streams.Common.PersistentStreamProviderState * Orleans.Streams.PersistentStreamProviderConfig -> unit
<Extension()>
Public Sub AddAzureQueueStreamProvider (config As ClientConfiguration, providerName As String, Optional connectionString As String = Nothing, Optional numberOfQueues As Integer = 8, Optional deploymentId As String = Nothing, Optional cacheSize As Integer = 4096, Optional startupState As PersistentStreamProviderState = Orleans.Providers.Streams.Common.PersistentStreamProviderState.AgentsStarted, Optional persistentStreamProviderConfig As PersistentStreamProviderConfig = Nothing)

Parâmetros

config
ClientConfiguration

O objeto de configuração de cluster ao qual adicionar o provedor.

providerName
String

O nome do provedor

connectionString
String

A cadeia de conexão de armazenamento do Azure. Se nenhum for fornecido, ele usará o mesmo que na configuração Globals.

numberOfQueues
Int32

O número de filas a serem usadas como partições.

deploymentId
String

A ID de implantação usada para particionamento. Se nenhum for especificado, o provedor usará a mesma DeploymentId que o Cluster.

cacheSize
Int32

O tamanho do cache.

startupState
PersistentStreamProviderState

O estado de inicialização do provedor de fluxo persistente.

persistentStreamProviderConfig
PersistentStreamProviderConfig

Configurações relacionadas a todos os provedores de fluxo persistentes.

Aplica-se a

AddAzureQueueStreamProvider(ClusterConfiguration, String, String, Int32, String, Int32, PersistentStreamProviderState, PersistentStreamProviderConfig)

Adiciona um provedor de fluxo do tipo AzureQueueStreamProvider.

public static void AddAzureQueueStreamProvider (this Orleans.Runtime.Configuration.ClusterConfiguration config, string providerName, string connectionString = default, int numberOfQueues = 8, string deploymentId = default, int cacheSize = 4096, Orleans.Providers.Streams.Common.PersistentStreamProviderState startupState = Orleans.Providers.Streams.Common.PersistentStreamProviderState.AgentsStarted, Orleans.Streams.PersistentStreamProviderConfig persistentStreamProviderConfig = default);
static member AddAzureQueueStreamProvider : Orleans.Runtime.Configuration.ClusterConfiguration * string * string * int * string * int * Orleans.Providers.Streams.Common.PersistentStreamProviderState * Orleans.Streams.PersistentStreamProviderConfig -> unit
<Extension()>
Public Sub AddAzureQueueStreamProvider (config As ClusterConfiguration, providerName As String, Optional connectionString As String = Nothing, Optional numberOfQueues As Integer = 8, Optional deploymentId As String = Nothing, Optional cacheSize As Integer = 4096, Optional startupState As PersistentStreamProviderState = Orleans.Providers.Streams.Common.PersistentStreamProviderState.AgentsStarted, Optional persistentStreamProviderConfig As PersistentStreamProviderConfig = Nothing)

Parâmetros

config
ClusterConfiguration

O objeto de configuração de cluster ao qual adicionar o provedor.

providerName
String

O nome do provedor

connectionString
String

A cadeia de conexão de armazenamento do Azure. Se nenhum for fornecido, ele usará o mesmo que na configuração Globals.

numberOfQueues
Int32

O número de filas a serem usadas como partições.

deploymentId
String

A ID de implantação usada para particionamento. Se nenhum for especificado, o provedor usará a mesma DeploymentId que o Cluster.

cacheSize
Int32

O tamanho do cache.

startupState
PersistentStreamProviderState

O estado de inicialização do provedor de fluxo persistente.

persistentStreamProviderConfig
PersistentStreamProviderConfig

Configurações relacionadas a todos os provedores de fluxo persistentes.

Aplica-se a