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

Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.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)

Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.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)

Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.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)

Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.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)

Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.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)

Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.cs
Source:
AzureBlobLeaseProviderOptions.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
属性

适用于