WebPubSubServiceClientBuilderExtensions.AddWebPubSubServiceClient Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddWebPubSubServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registra uma WebPubSubServiceClient instância com opções de conexão carregadas da instância fornecida |
AddWebPubSubServiceClient<TBuilder>(TBuilder, String, String) |
Registra uma WebPubSubServiceClient instância com o fornecido |
AddWebPubSubServiceClient<TBuilder>(TBuilder, Uri, String, AzureKeyCredential) |
Registra uma WebPubSubServiceClient instância com o fornecido |
AddWebPubSubServiceClient<TBuilder>(TBuilder, Uri, String, TokenCredential) |
Registra uma WebPubSubServiceClient instância com o fornecido |
AddWebPubSubServiceClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registra uma WebPubSubServiceClient instância com opções de conexão carregadas da instância fornecida configuration
.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.WebPubSub.WebPubSubServiceClient,Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions> AddWebPubSubServiceClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddWebPubSubServiceClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.WebPubSub.WebPubSubServiceClient, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddWebPubSubServiceClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of WebPubSubServiceClient, WebPubSubServiceClientOptions)
Parâmetros de tipo
- TBuilder
- TConfiguration
Parâmetros
- builder
- TBuilder
- configuration
- TConfiguration
Retornos
Aplica-se a
AddWebPubSubServiceClient<TBuilder>(TBuilder, String, String)
Registra uma WebPubSubServiceClient instância com o fornecido connectionString
e hub
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.WebPubSub.WebPubSubServiceClient,Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions> AddWebPubSubServiceClient<TBuilder> (this TBuilder builder, string connectionString, string hub) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddWebPubSubServiceClient : 'Builder * string * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.WebPubSub.WebPubSubServiceClient, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddWebPubSubServiceClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, connectionString As String, hub As String) As IAzureClientBuilder(Of WebPubSubServiceClient, WebPubSubServiceClientOptions)
Parâmetros de tipo
- TBuilder
Parâmetros
- builder
- TBuilder
- connectionString
- String
- hub
- String
Retornos
Aplica-se a
AddWebPubSubServiceClient<TBuilder>(TBuilder, Uri, String, AzureKeyCredential)
Registra uma WebPubSubServiceClient instância com o fornecido endpoint
e e hub
credential
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.WebPubSub.WebPubSubServiceClient,Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions> AddWebPubSubServiceClient<TBuilder> (this TBuilder builder, Uri endpoint, string hub, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddWebPubSubServiceClient : 'Builder * Uri * string * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.WebPubSub.WebPubSubServiceClient, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddWebPubSubServiceClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, hub As String, credential As AzureKeyCredential) As IAzureClientBuilder(Of WebPubSubServiceClient, WebPubSubServiceClientOptions)
Parâmetros de tipo
- TBuilder
Parâmetros
- builder
- TBuilder
- endpoint
- Uri
- hub
- String
- credential
- AzureKeyCredential
Retornos
Aplica-se a
AddWebPubSubServiceClient<TBuilder>(TBuilder, Uri, String, TokenCredential)
Registra uma WebPubSubServiceClient instância com o fornecido endpoint
e e hub
credential
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.WebPubSub.WebPubSubServiceClient,Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions> AddWebPubSubServiceClient<TBuilder> (this TBuilder builder, Uri endpoint, string hub, Azure.Core.TokenCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddWebPubSubServiceClient : 'Builder * Uri * string * Azure.Core.TokenCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.WebPubSub.WebPubSubServiceClient, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddWebPubSubServiceClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, hub As String, credential As TokenCredential) As IAzureClientBuilder(Of WebPubSubServiceClient, WebPubSubServiceClientOptions)
Parâmetros de tipo
- TBuilder
Parâmetros
- builder
- TBuilder
- endpoint
- Uri
- hub
- String
- credential
- TokenCredential
Retornos
Aplica-se a
Azure SDK for .NET