Compartilhar via


AzureConfigurationExtensions.AddAzureQueueStreamProviderV2 Método

Definição

Sobrecargas

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

Adiciona um provedor de fluxo do tipo AzureQueueStreamProviderV2.

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

Adiciona um provedor de fluxo do tipo AzureQueueStreamProviderV2.

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

Adiciona um provedor de fluxo do tipo AzureQueueStreamProviderV2.

public static void AddAzureQueueStreamProviderV2 (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 AddAzureQueueStreamProviderV2 : Orleans.Runtime.Configuration.ClientConfiguration * string * string * int * string * int * Orleans.Providers.Streams.Common.PersistentStreamProviderState * Orleans.Streams.PersistentStreamProviderConfig -> unit
<Extension()>
Public Sub AddAzureQueueStreamProviderV2 (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

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

Adiciona um provedor de fluxo do tipo AzureQueueStreamProviderV2.

public static void AddAzureQueueStreamProviderV2 (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 AddAzureQueueStreamProviderV2 : Orleans.Runtime.Configuration.ClusterConfiguration * string * string * int * string * int * Orleans.Providers.Streams.Common.PersistentStreamProviderState * Orleans.Streams.PersistentStreamProviderConfig -> unit
<Extension()>
Public Sub AddAzureQueueStreamProviderV2 (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