CloudPageBlob.GetPageRangesAsync Method

Definition

Overloads

GetPageRangesAsync()

Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes.

GetPageRangesAsync(CancellationToken)

Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes.

GetPageRangesAsync(Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes.

GetPageRangesAsync(Nullable<Int64>, Nullable<Int64>, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes.

GetPageRangesAsync()

Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.PageRange>> GetPageRangesAsync ();
Returns

A Task<TResult> object that is an enumerable collection of type PageRange that represents the asynchronous operation.

GetPageRangesAsync(CancellationToken)

Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.PageRange>> GetPageRangesAsync (System.Threading.CancellationToken cancellationToken);
Parameters
cancellationToken
CancellationToken

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

Returns

A Task<TResult> object that is an enumerable collection of type PageRange that represents the asynchronous operation.

GetPageRangesAsync(Nullable, Nullable, AccessCondition, BlobRequestOptions, OperationContext)

Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.PageRange>> GetPageRangesAsync (Nullable<long> offset, Nullable<long> length, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
Parameters
offset
Nullable<Int64>

The starting offset of the data range, in bytes. Must be a multiple of 512.

length
Nullable<Int64>

The length of the data range, in bytes. Must be a multiple of 512.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
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 that is an enumerable collection of type PageRange that represents the asynchronous operation.

GetPageRangesAsync(Nullable, Nullable, AccessCondition, BlobRequestOptions, OperationContext, CancellationToken)

Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.WindowsAzure.Storage.Blob.PageRange>> GetPageRangesAsync (Nullable<long> offset, Nullable<long> length, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
Parameters
offset
Nullable<Int64>

The starting offset of the data range, in bytes. Must be a multiple of 512.

length
Nullable<Int64>

The length of the data range, in bytes. Must be a multiple of 512.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
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 that is an enumerable collection of type PageRange that represents the asynchronous operation.