你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BlockBlobClient.WithCustomerProvidedKey Method

Definition

Initializes a new instance of the BlockBlobClient class with an identical Uri source but the specified customerProvidedKey.

public Azure.Storage.Blobs.Specialized.BlockBlobClient WithCustomerProvidedKey(Azure.Storage.Blobs.Models.CustomerProvidedKey? customerProvidedKey);
override this.WithCustomerProvidedKey : Nullable<Azure.Storage.Blobs.Models.CustomerProvidedKey> -> Azure.Storage.Blobs.Specialized.BlockBlobClient
Public Function WithCustomerProvidedKey (customerProvidedKey As Nullable(Of CustomerProvidedKey)) As BlockBlobClient

Parameters

customerProvidedKey
Nullable<CustomerProvidedKey>

The customer provided key.

Returns

A new BlockBlobClient instance.

Remarks

Pass null to remove the customer provide key in the returned BlockBlobClient.

Applies to