CloudFileClient.GetServicePropertiesAsync Method

Definition

Overloads

GetServicePropertiesAsync(FileRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to get service properties for the File service.

GetServicePropertiesAsync(FileRequestOptions, OperationContext)

Initiates an asynchronous operation to get service properties for the File service.

GetServicePropertiesAsync(CancellationToken)

Initiates an asynchronous operation to get service properties for the File service.

GetServicePropertiesAsync()

Initiates an asynchronous operation to get service properties for the File service.

GetServicePropertiesAsync(FileRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to get service properties for the File service.

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

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<TResult> object of type FileServiceProperties that represents the asynchronous operation.

Attributes

Applies to

GetServicePropertiesAsync(FileRequestOptions, OperationContext)

Initiates an asynchronous operation to get service properties for the File service.

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

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<TResult> object of type FileServiceProperties that represents the asynchronous operation.

Attributes

Applies to

GetServicePropertiesAsync(CancellationToken)

Initiates an asynchronous operation to get service properties for the File service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.Protocol.FileServiceProperties> GetServicePropertiesAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetServicePropertiesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.Protocol.FileServiceProperties>
override this.GetServicePropertiesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.Protocol.FileServiceProperties>
Public Overridable Function GetServicePropertiesAsync (cancellationToken As CancellationToken) As Task(Of FileServiceProperties)

Parameters

cancellationToken
CancellationToken

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

Returns

A Task<TResult> object of type FileServiceProperties that represents the asynchronous operation.

Attributes

Applies to

GetServicePropertiesAsync()

Initiates an asynchronous operation to get service properties for the File service.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.Protocol.FileServiceProperties> GetServicePropertiesAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetServicePropertiesAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.Protocol.FileServiceProperties>
override this.GetServicePropertiesAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.Protocol.FileServiceProperties>
Public Overridable Function GetServicePropertiesAsync () As Task(Of FileServiceProperties)

Returns

A Task<TResult> object of type FileServiceProperties that represents the asynchronous operation.

Attributes

Applies to