Share via


CloudFileClient.SetServicePropertiesAsync Method

Definition

Overloads

SetServicePropertiesAsync(FileServiceProperties)

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

SetServicePropertiesAsync(FileServiceProperties, CancellationToken)

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

SetServicePropertiesAsync(FileServiceProperties, FileRequestOptions, OperationContext)

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

SetServicePropertiesAsync(FileServiceProperties, FileRequestOptions, OperationContext, CancellationToken)

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

SetServicePropertiesAsync(FileServiceProperties)

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.File.Protocol.FileServiceProperties properties);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.File.Protocol.FileServiceProperties -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.File.Protocol.FileServiceProperties -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As FileServiceProperties) As Task

Parameters

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

SetServicePropertiesAsync(FileServiceProperties, 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.File.Protocol.FileServiceProperties properties, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.File.Protocol.FileServiceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.File.Protocol.FileServiceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As FileServiceProperties, cancellationToken As CancellationToken) As Task

Parameters

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(FileServiceProperties, FileRequestOptions, OperationContext)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.File.Protocol.FileServiceProperties properties, Microsoft.Azure.Storage.File.FileRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.File.Protocol.FileServiceProperties * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.File.Protocol.FileServiceProperties * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As FileServiceProperties, requestOptions As FileRequestOptions, operationContext As OperationContext) As Task

Parameters

requestOptions
FileRequestOptions

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

SetServicePropertiesAsync(FileServiceProperties, FileRequestOptions, OperationContext, CancellationToken)

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

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

Parameters

requestOptions
FileRequestOptions

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