Redigera

Dela via


AzureBlobStorageOptions.ConfigureBlobServiceClient Method

Definition

Overloads

ConfigureBlobServiceClient(Func<Task<BlobServiceClient>>)
Obsolete.

Configures the BlobServiceClient using the provided callback.

ConfigureBlobServiceClient(String)
Obsolete.

Configures the BlobServiceClient using a connection string.

ConfigureBlobServiceClient(Uri)
Obsolete.

Configures the BlobServiceClient using an authenticated service URI.

ConfigureBlobServiceClient(Uri, AzureSasCredential)
Obsolete.

Configures the BlobServiceClient using an authenticated service URI and a AzureSasCredential.

ConfigureBlobServiceClient(Uri, TokenCredential)
Obsolete.

Configures the BlobServiceClient using an authenticated service URI and a TokenCredential.

ConfigureBlobServiceClient(Uri, StorageSharedKeyCredential)
Obsolete.

Configures the BlobServiceClient using an authenticated service URI and a StorageSharedKeyCredential.

ConfigureBlobServiceClient(Func<Task<BlobServiceClient>>)

Source:
AzureBlobStorageOptions.cs

Caution

Set the BlobServiceClient property directly.

Configures the BlobServiceClient using the provided callback.

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)))

Parameters

createClientCallback
Func<Task<BlobServiceClient>>
Attributes

Applies to

ConfigureBlobServiceClient(String)

Source:
AzureBlobStorageOptions.cs

Caution

Set the BlobServiceClient property directly.

Configures the BlobServiceClient using a connection string.

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)

Parameters

connectionString
String
Attributes

Applies to

ConfigureBlobServiceClient(Uri)

Source:
AzureBlobStorageOptions.cs

Caution

Set the BlobServiceClient property directly.

Configures the BlobServiceClient using an authenticated service 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)

Parameters

serviceUri
Uri
Attributes

Applies to

ConfigureBlobServiceClient(Uri, AzureSasCredential)

Source:
AzureBlobStorageOptions.cs

Caution

Set the BlobServiceClient property directly.

Configures the BlobServiceClient using an authenticated service URI and a 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)

Parameters

serviceUri
Uri
azureSasCredential
AzureSasCredential
Attributes

Applies to

ConfigureBlobServiceClient(Uri, TokenCredential)

Source:
AzureBlobStorageOptions.cs

Caution

Set the BlobServiceClient property directly.

Configures the BlobServiceClient using an authenticated service URI and a 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)

Parameters

serviceUri
Uri
tokenCredential
TokenCredential
Attributes

Applies to

ConfigureBlobServiceClient(Uri, StorageSharedKeyCredential)

Source:
AzureBlobStorageOptions.cs

Caution

Set the BlobServiceClient property directly.

Configures the BlobServiceClient using an authenticated service URI and a 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)

Parameters

serviceUri
Uri
sharedKeyCredential
StorageSharedKeyCredential
Attributes

Applies to