Udostępnij za pośrednictwem


BlobBaseClient.WithCustomerProvidedKey Method

Definition

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

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

Parameters

customerProvidedKey
Nullable<CustomerProvidedKey>

The customer provided key.

Returns

A new BlobBaseClient instance.

Remarks

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

Applies to