CloudBlob.GetAccountPropertiesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAccountPropertiesAsync() |
Initiates an asynchronous operation to get properties for the account this blob resides on. |
GetAccountPropertiesAsync(CancellationToken) |
Initiates an asynchronous operation to get properties for the account this blob resides on. |
GetAccountPropertiesAsync(BlobRequestOptions, OperationContext) |
Initiates an asynchronous operation to get properties for the account this blob resides on. |
GetAccountPropertiesAsync(BlobRequestOptions, OperationContext, CancellationToken) |
Initiates an asynchronous operation to get properties for the account this blob resides on. |
GetAccountPropertiesAsync()
Initiates an asynchronous operation to get properties for the account this blob resides on.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties> GetAccountPropertiesAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetAccountPropertiesAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties>
override this.GetAccountPropertiesAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties>
Public Overridable Function GetAccountPropertiesAsync () As Task(Of AccountProperties)
Returns
A Task<TResult> object of type AccountProperties that represents the asynchronous operation.
- Attributes
Applies to
GetAccountPropertiesAsync(CancellationToken)
Initiates an asynchronous operation to get properties for the account this blob resides on.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties> GetAccountPropertiesAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetAccountPropertiesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties>
override this.GetAccountPropertiesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties>
Public Overridable Function GetAccountPropertiesAsync (cancellationToken As CancellationToken) As Task(Of AccountProperties)
Parameters
- cancellationToken
- CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Returns
A Task<TResult> object of type AccountProperties that represents the asynchronous operation.
- Attributes
Applies to
GetAccountPropertiesAsync(BlobRequestOptions, OperationContext)
Initiates an asynchronous operation to get properties for the account this blob resides on.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties> GetAccountPropertiesAsync (Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetAccountPropertiesAsync : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties>
override this.GetAccountPropertiesAsync : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties>
Public Overridable Function GetAccountPropertiesAsync (requestOptions As BlobRequestOptions, operationContext As OperationContext) As Task(Of AccountProperties)
Parameters
- 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<TResult> object of type AccountProperties that represents the asynchronous operation.
- Attributes
Applies to
GetAccountPropertiesAsync(BlobRequestOptions, OperationContext, CancellationToken)
Initiates an asynchronous operation to get properties for the account this blob resides on.
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties> GetAccountPropertiesAsync (Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetAccountPropertiesAsync : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties>
override this.GetAccountPropertiesAsync : Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Shared.Protocol.AccountProperties>
Public Overridable Function GetAccountPropertiesAsync (requestOptions As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of AccountProperties)
Parameters
- 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<TResult> object of type AccountProperties that represents the asynchronous operation.
- Attributes
Applies to
Azure SDK for .NET