C#
C++
F#
VB
CloudPageBlob.::..GetPageRangesDiffAsync Method (DateTimeOffset, CancellationToken)(DateTimeOffset, CancellationToken)(DateTimeOffset, CancellationToken)(DateTimeOffset, CancellationToken)
Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute]
public Task<IEnumerable<PageDiffRange>> GetPageRangesDiffAsync(
DateTimeOffset previousSnapshotTime,
CancellationToken cancellationToken
)
C++
public:
[DoesServiceRequestAttribute]
Task<IEnumerable<PageDiffRange^>^>^ GetPageRangesDiffAsync(
DateTimeOffset previousSnapshotTime,
CancellationToken cancellationToken
)
[<DoesServiceRequestAttribute>]
member GetPageRangesDiffAsync :
previousSnapshotTime:DateTimeOffset *
cancellationToken:CancellationToken -> Task<IEnumerable<PageDiffRange>>
<DoesServiceRequestAttribute> Public Function GetPageRangesDiffAsync ( previousSnapshotTime As DateTimeOffset, cancellationToken As CancellationToken ) As Task(Of IEnumerable(Of PageDiffRange))
Parameters
- previousSnapshotTime
-
Type:
System.DateTimeOffsetSystem::DateTimeOffsetSystem.DateTimeOffsetSystem.DateTimeOffset
A DateTimeOffset representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp.
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type: System.Threading.Tasks.Task<IEnumerable<PageDiffRange>>System.Threading.Tasks::Task<IEnumerable<PageDiffRange^>^>^System.Threading.Tasks.Task<IEnumerable<PageDiffRange>>System.Threading.Tasks.Task(Of IEnumerable(Of PageDiffRange))A Task<TResult><TResult><'TResult>(Of TResult) object that is an enumerable collection of type PageRange that represents the asynchronous operation.
See Also
GetPageRangesDiffAsync Overload
CloudPageBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace