AzureBlobStorageOptions.ConfigureBlobServiceClient 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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:
- 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)
- Source:
- 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)
- Source:
- 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)
- Source:
- 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)
- Source:
- 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)
- Source:
- 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
- 属性