AzureQueueOptions.ConfigureQueueServiceClient 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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>>)
警告
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)
警告
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)
警告
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)
警告
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)
警告
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)
警告
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
- 屬性