AzureQueueOptions.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:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs

注意

Set the QueueServiceClient property directly.

QueueServiceClient使用提供的回调配置 。

public void ConfigureQueueServiceClient (Func<System.Threading.Tasks.Task<Azure.Storage.Queues.QueueServiceClient>> createClientCallback);
[System.Obsolete("Set the QueueServiceClient property directly.")]
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
[<System.Obsolete("Set the QueueServiceClient property directly.")>]
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:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs

注意

Set the QueueServiceClient property directly.

QueueServiceClient使用连接字符串配置 。

public void ConfigureQueueServiceClient (string connectionString);
[System.Obsolete("Set the QueueServiceClient property directly.")]
public void ConfigureQueueServiceClient (string connectionString);
member this.ConfigureQueueServiceClient : string -> unit
[<System.Obsolete("Set the QueueServiceClient property directly.")>]
member this.ConfigureQueueServiceClient : string -> unit
Public Sub ConfigureQueueServiceClient (connectionString As String)

参数

connectionString
String
属性

适用于

ConfigureQueueServiceClient(Uri)

Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs

注意

Set the QueueServiceClient property directly.

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

public void ConfigureQueueServiceClient (Uri serviceUri);
[System.Obsolete("Set the QueueServiceClient property directly.")]
public void ConfigureQueueServiceClient (Uri serviceUri);
member this.ConfigureQueueServiceClient : Uri -> unit
[<System.Obsolete("Set the QueueServiceClient property directly.")>]
member this.ConfigureQueueServiceClient : Uri -> unit
Public Sub ConfigureQueueServiceClient (serviceUri As Uri)

参数

serviceUri
Uri
属性

适用于

ConfigureQueueServiceClient(Uri, AzureSasCredential)

Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs

注意

Set the QueueServiceClient property directly.

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

public void ConfigureQueueServiceClient (Uri serviceUri, Azure.AzureSasCredential azureSasCredential);
[System.Obsolete("Set the QueueServiceClient property directly.")]
public void ConfigureQueueServiceClient (Uri serviceUri, Azure.AzureSasCredential azureSasCredential);
member this.ConfigureQueueServiceClient : Uri * Azure.AzureSasCredential -> unit
[<System.Obsolete("Set the QueueServiceClient property directly.")>]
member this.ConfigureQueueServiceClient : Uri * Azure.AzureSasCredential -> unit
Public Sub ConfigureQueueServiceClient (serviceUri As Uri, azureSasCredential As AzureSasCredential)

参数

serviceUri
Uri
azureSasCredential
AzureSasCredential
属性

适用于

ConfigureQueueServiceClient(Uri, TokenCredential)

Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs

注意

Set the QueueServiceClient property directly.

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

public void ConfigureQueueServiceClient (Uri serviceUri, Azure.Core.TokenCredential tokenCredential);
[System.Obsolete("Set the QueueServiceClient property directly.")]
public void ConfigureQueueServiceClient (Uri serviceUri, Azure.Core.TokenCredential tokenCredential);
member this.ConfigureQueueServiceClient : Uri * Azure.Core.TokenCredential -> unit
[<System.Obsolete("Set the QueueServiceClient property directly.")>]
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:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs
Source:
AzureQueueStreamOptions.cs

注意

Set the QueueServiceClient property directly.

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

public void ConfigureQueueServiceClient (Uri serviceUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential);
[System.Obsolete("Set the QueueServiceClient property directly.")]
public void ConfigureQueueServiceClient (Uri serviceUri, Azure.Storage.StorageSharedKeyCredential sharedKeyCredential);
member this.ConfigureQueueServiceClient : Uri * Azure.Storage.StorageSharedKeyCredential -> unit
[<System.Obsolete("Set the QueueServiceClient property directly.")>]
member this.ConfigureQueueServiceClient : Uri * Azure.Storage.StorageSharedKeyCredential -> unit
Public Sub ConfigureQueueServiceClient (serviceUri As Uri, sharedKeyCredential As StorageSharedKeyCredential)

参数

serviceUri
Uri
sharedKeyCredential
StorageSharedKeyCredential
属性

适用于