共用方式為


AzureBlobStorageOptions.ConfigureBlobServiceClient 方法

定義

多載

ConfigureBlobServiceClient(Func<Task<BlobServiceClient>>)
已淘汰.

使用提供的回呼來設定 BlobServiceClient

ConfigureBlobServiceClient(String)
已淘汰.

BlobServiceClient使用 連接字串 設定 。

ConfigureBlobServiceClient(Uri)
已淘汰.

BlobServiceClient使用已驗證的服務 URI 來設定 。

ConfigureBlobServiceClient(Uri, AzureSasCredential)
已淘汰.

BlobServiceClient使用已驗證的服務 URI 與AzureSasCredential設定 。

ConfigureBlobServiceClient(Uri, TokenCredential)
已淘汰.

BlobServiceClient使用已驗證的服務 URI 與TokenCredential設定 。

ConfigureBlobServiceClient(Uri, StorageSharedKeyCredential)
已淘汰.

BlobServiceClient使用已驗證的服務 URI 與StorageSharedKeyCredential設定 。

ConfigureBlobServiceClient(Func<Task<BlobServiceClient>>)

來源:
AzureBlobStorageOptions.cs

警告

Set the BlobServiceClient property directly.

使用提供的回呼來設定 BlobServiceClient

public void ConfigureBlobServiceClient (Func<System.Threading.Tasks.Task<Azure.Storage.Blobs.BlobServiceClient>> createClientCallback);
[System.Obsolete("Set the BlobServiceClient property directly.")]
public void ConfigureBlobServiceClient (Func<System.Threading.Tasks.Task<Azure.Storage.Blobs.BlobServiceClient>> createClientCallback);
member this.ConfigureBlobServiceClient : Func<System.Threading.Tasks.Task<Azure.Storage.Blobs.BlobServiceClient>> -> unit
[<System.Obsolete("Set the BlobServiceClient property directly.")>]
member this.ConfigureBlobServiceClient : Func<System.Threading.Tasks.Task<Azure.Storage.Blobs.BlobServiceClient>> -> unit
Public Sub ConfigureBlobServiceClient (createClientCallback As Func(Of Task(Of BlobServiceClient)))

參數

createClientCallback
Func<Task<BlobServiceClient>>
屬性

適用於

ConfigureBlobServiceClient(String)

來源:
AzureBlobStorageOptions.cs

警告

Set the BlobServiceClient property directly.

BlobServiceClient使用 連接字串 設定 。

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

參數

connectionString
String
屬性

適用於

ConfigureBlobServiceClient(Uri)

來源:
AzureBlobStorageOptions.cs

警告

Set the BlobServiceClient property directly.

BlobServiceClient使用已驗證的服務 URI 來設定 。

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

參數

serviceUri
Uri
屬性

適用於

ConfigureBlobServiceClient(Uri, AzureSasCredential)

來源:
AzureBlobStorageOptions.cs

警告

Set the BlobServiceClient property directly.

BlobServiceClient使用已驗證的服務 URI 與AzureSasCredential設定 。

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

參數

serviceUri
Uri
azureSasCredential
AzureSasCredential
屬性

適用於

ConfigureBlobServiceClient(Uri, TokenCredential)

來源:
AzureBlobStorageOptions.cs

警告

Set the BlobServiceClient property directly.

BlobServiceClient使用已驗證的服務 URI 與TokenCredential設定 。

public void ConfigureBlobServiceClient (Uri serviceUri, Azure.Core.TokenCredential tokenCredential);
[System.Obsolete("Set the BlobServiceClient property directly.")]
public void ConfigureBlobServiceClient (Uri serviceUri, Azure.Core.TokenCredential tokenCredential);
member this.ConfigureBlobServiceClient : Uri * Azure.Core.TokenCredential -> unit
[<System.Obsolete("Set the BlobServiceClient property directly.")>]
member this.ConfigureBlobServiceClient : Uri * Azure.Core.TokenCredential -> unit
Public Sub ConfigureBlobServiceClient (serviceUri As Uri, tokenCredential As TokenCredential)

參數

serviceUri
Uri
tokenCredential
TokenCredential
屬性

適用於

ConfigureBlobServiceClient(Uri, StorageSharedKeyCredential)

來源:
AzureBlobStorageOptions.cs

警告

Set the BlobServiceClient property directly.

BlobServiceClient使用已驗證的服務 URI 與StorageSharedKeyCredential設定 。

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

參數

serviceUri
Uri
sharedKeyCredential
StorageSharedKeyCredential
屬性

適用於