Share via


SpecializedQueueExtensions.WithClientSideEncryptionOptions Method

Definition

Creates a new instance of the QueueClient class, maintaining all the same internals but specifying new ClientSideEncryptionOptions.

public static Azure.Storage.Queues.QueueClient WithClientSideEncryptionOptions (this Azure.Storage.Queues.QueueClient client, Azure.Storage.ClientSideEncryptionOptions clientSideEncryptionOptions);
static member WithClientSideEncryptionOptions : Azure.Storage.Queues.QueueClient * Azure.Storage.ClientSideEncryptionOptions -> Azure.Storage.Queues.QueueClient
<Extension()>
Public Function WithClientSideEncryptionOptions (client As QueueClient, clientSideEncryptionOptions As ClientSideEncryptionOptions) As QueueClient

Parameters

client
QueueClient

Client to base off of.

clientSideEncryptionOptions
ClientSideEncryptionOptions

New encryption options. Setting this to default will clear client-side encryption.

Returns

New instance with provided options and same internals otherwise.

Applies to