SimpleAzureQueueStreamOptions.ConfigureQueueServiceClient 方法

定义

重载

ConfigureQueueServiceClient(Func<Task<QueueServiceClient>>)

配置 QueueServiceClient 提供的回调。

ConfigureQueueServiceClient(String)

配置 QueueServiceClient 使用连接字符串。

ConfigureQueueServiceClient(Uri)

配置 QueueServiceClient 使用经过身份验证的服务 URI。

ConfigureQueueServiceClient(Uri, AzureSasCredential)

配置 QueueServiceClient 使用经过身份验证的服务 URI 和一个 AzureSasCredential

ConfigureQueueServiceClient(Uri, TokenCredential)

配置 QueueServiceClient 使用经过身份验证的服务 URI 和一个 TokenCredential

ConfigureQueueServiceClient(Uri, StorageSharedKeyCredential)

配置 QueueServiceClient 使用经过身份验证的服务 URI 和一个 StorageSharedKeyCredential

ConfigureQueueServiceClient(Func<Task<QueueServiceClient>>)

Source:
SimpleAzureQueueStreamOptions.cs

配置 QueueServiceClient 提供的回调。

public void ConfigureQueueServiceClient (Func<System.Threading.Tasks.Task<Azure.Storage.Queues.QueueServiceClient>> createClientCallback);
member this.ConfigureQueueServiceClient : Func<System.Threading.Tasks.Task<Azure.Storage.Queues.QueueServiceClient>> -> unit
Public Sub ConfigureQueueServiceClient (createClientCallback As Func(Of Task(Of QueueServiceClient)))

参数

createClientCallback
Func<Task<QueueServiceClient>>

适用于

ConfigureQueueServiceClient(String)

Source:
SimpleAzureQueueStreamOptions.cs

配置 QueueServiceClient 使用连接字符串。

public void ConfigureQueueServiceClient (string connectionString);
member this.ConfigureQueueServiceClient : string -> unit
Public Sub ConfigureQueueServiceClient (connectionString As String)

参数

connectionString
String

适用于

ConfigureQueueServiceClient(Uri)

Source:
SimpleAzureQueueStreamOptions.cs

配置 QueueServiceClient 使用经过身份验证的服务 URI。

public void ConfigureQueueServiceClient (Uri serviceUri);
member this.ConfigureQueueServiceClient : Uri -> unit
Public Sub ConfigureQueueServiceClient (serviceUri As Uri)

参数

serviceUri
Uri

适用于

ConfigureQueueServiceClient(Uri, AzureSasCredential)

Source:
SimpleAzureQueueStreamOptions.cs

配置 QueueServiceClient 使用经过身份验证的服务 URI 和一个 AzureSasCredential

public void ConfigureQueueServiceClient (Uri serviceUri, Azure.AzureSasCredential azureSasCredential);
member this.ConfigureQueueServiceClient : Uri * Azure.AzureSasCredential -> unit
Public Sub ConfigureQueueServiceClient (serviceUri As Uri, azureSasCredential As AzureSasCredential)

参数

serviceUri
Uri
azureSasCredential
AzureSasCredential

适用于

ConfigureQueueServiceClient(Uri, TokenCredential)

Source:
SimpleAzureQueueStreamOptions.cs

配置 QueueServiceClient 使用经过身份验证的服务 URI 和一个 TokenCredential

public void ConfigureQueueServiceClient (Uri serviceUri, Azure.Core.TokenCredential tokenCredential);
member this.ConfigureQueueServiceClient : Uri * Azure.Core.TokenCredential -> unit
Public Sub ConfigureQueueServiceClient (serviceUri As Uri, tokenCredential As TokenCredential)

参数

serviceUri
Uri
tokenCredential
TokenCredential

适用于

ConfigureQueueServiceClient(Uri, StorageSharedKeyCredential)

Source:
SimpleAzureQueueStreamOptions.cs

配置 QueueServiceClient 使用经过身份验证的服务 URI 和一个 StorageSharedKeyCredential

public void ConfigureQueueServiceClient (Uri serviceUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential);
member this.ConfigureQueueServiceClient : Uri * Azure.Storage.StorageSharedKeyCredential -> unit
Public Sub ConfigureQueueServiceClient (serviceUri As Uri, sharedKeyCredential As StorageSharedKeyCredential)

参数

serviceUri
Uri
sharedKeyCredential
StorageSharedKeyCredential

适用于