Delen via


CloudPageBlob.GetPageRangesAsync Method

Definition

Overloads

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(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()

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, CancellationToken)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageRange>> GetPageRangesAsync (long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesAsync : Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageRange>>
override this.GetPageRangesAsync : Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageRange>>
Public Overridable Function GetPageRangesAsync (offset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of IEnumerable(Of PageRange))

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.

Attributes

Applies to

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.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageRange>> GetPageRangesAsync (long? offset, long? length, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesAsync : Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageRange>>
override this.GetPageRangesAsync : Nullable<int64> * Nullable<int64> * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageRange>>
Public Overridable Function GetPageRangesAsync (offset As Nullable(Of Long), length As Nullable(Of Long), accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext) As Task(Of IEnumerable(Of PageRange))

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.

Attributes

Applies to

GetPageRangesAsync()

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageRange>> GetPageRangesAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageRange>>
override this.GetPageRangesAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageRange>>
Public Overridable Function GetPageRangesAsync () As Task(Of IEnumerable(Of PageRange))

Returns

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

Attributes

Applies to

GetPageRangesAsync(CancellationToken)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Storage.Blob.PageRange>> GetPageRangesAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member GetPageRangesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageRange>>
override this.GetPageRangesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Storage.Blob.PageRange>>
Public Overridable Function GetPageRangesAsync (cancellationToken As CancellationToken) As Task(Of IEnumerable(Of PageRange))

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.

Attributes

Applies to