Udostępnij za pośrednictwem


CloudQueue.SetMetadata(QueueRequestOptions, OperationContext) Method

Definition

Sets the queue's user-defined metadata.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void SetMetadata (Microsoft.Azure.Storage.Queue.QueueRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetMetadata : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.SetMetadata : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub SetMetadata (Optional options As QueueRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)

Parameters

options
QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Attributes

Applies to