다음을 통해 공유


CloudQueueClient.SetServicePropertiesAsync Method

Definition

Overloads

SetServicePropertiesAsync(ServiceProperties, QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to set service properties for the Queue service.

SetServicePropertiesAsync(ServiceProperties)

Initiates an asynchronous operation to set service properties for the Queue service.

SetServicePropertiesAsync(ServiceProperties, CancellationToken)

Initiates an asynchronous operation to set service properties for the Queue service.

SetServicePropertiesAsync(ServiceProperties, QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to set service properties for the Queue service.

SetServicePropertiesAsync(ServiceProperties, QueueRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to set service properties for the Queue service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As ServiceProperties, options As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameters

properties
ServiceProperties

A ServiceProperties object.

options
QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

SetServicePropertiesAsync(ServiceProperties)

Initiates an asynchronous operation to set service properties for the Queue service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As ServiceProperties) As Task

Parameters

properties
ServiceProperties

A ServiceProperties object.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

SetServicePropertiesAsync(ServiceProperties, CancellationToken)

Initiates an asynchronous operation to set service properties for the Queue service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As ServiceProperties, cancellationToken As CancellationToken) As Task

Parameters

properties
ServiceProperties

A ServiceProperties object.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

SetServicePropertiesAsync(ServiceProperties, QueueRequestOptions, OperationContext)

Initiates an asynchronous operation to set service properties for the Queue service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As ServiceProperties, options As QueueRequestOptions, operationContext As OperationContext) As Task

Parameters

properties
ServiceProperties

A ServiceProperties object.

options
QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to