CloudBlobClient.SetServicePropertiesAsync Method

Definition

Overloads

SetServicePropertiesAsync(ServiceProperties, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation that sets service properties for the Blob service.

SetServicePropertiesAsync(ServiceProperties, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that sets service properties for the Blob service.

SetServicePropertiesAsync(ServiceProperties)

Initiates an asynchronous operation that sets service properties for the Blob service.

SetServicePropertiesAsync(ServiceProperties, CancellationToken)

Initiates an asynchronous operation that sets service properties for the Blob service.

SetServicePropertiesAsync(ServiceProperties, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation that sets service properties for the Blob service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext);
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task

Parameters

properties
ServiceProperties

A ServiceProperties object.

requestOptions
BlobRequestOptions

A BlobRequestOptions 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

SetServicePropertiesAsync(ServiceProperties, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation that sets service properties for the Blob service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

properties
ServiceProperties

A ServiceProperties object.

requestOptions
BlobRequestOptions

A BlobRequestOptions 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

SetServicePropertiesAsync(ServiceProperties)

Initiates an asynchronous operation that sets service properties for the Blob service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties);
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

SetServicePropertiesAsync(ServiceProperties, CancellationToken)

Initiates an asynchronous operation that sets service properties for the Blob service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, System.Threading.CancellationToken cancellationToken);
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

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