Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

Initiates an asynchronous operation to clear pages from a page blob.

Namespace:   Microsoft.WindowsAzure.Storage.Blob
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

 
[DoesServiceRequestAttribute]
public virtual Task ClearPagesAsync(
	long startOffset,
	long length,
	CancellationToken cancellationToken
)
 
public:
[DoesServiceRequestAttribute]
virtual Task^ ClearPagesAsync(
	long long startOffset,
	long long length,
	CancellationToken cancellationToken
)
 
[<DoesServiceRequestAttribute>]
abstract ClearPagesAsync : 
        startOffset:int64 *
        length:int64 *
        cancellationToken:CancellationToken -> Task
[<DoesServiceRequestAttribute>]
override ClearPagesAsync : 
        startOffset:int64 *
        length:int64 *
        cancellationToken:CancellationToken -> Task
 
<DoesServiceRequestAttribute>
Public Overridable Function ClearPagesAsync (
	startOffset As Long,
	length As Long,
	cancellationToken As CancellationToken
) As Task

Parameters

startOffset
Type: System.Int64System::Int64System.Int64System.Int64

The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512.

length
Type: System.Int64System::Int64System.Int64System.Int64

The length of the data range to be cleared, in bytes. The length must be a multiple of 512.

cancellationToken
Type: System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken

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

Return to top