C#
C++
F#
VB
CloudPageBlob.::..ClearPagesAsync Method (Int64, Int64)(Int64, Int64)(Int64, Int64)(Int64, Int64)
Initiates an asynchronous operation to clear pages from a page blob.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task ClearPagesAsync( long startOffset, long length )
C++
public: [DoesServiceRequestAttribute] virtual Task^ ClearPagesAsync( long long startOffset, long long length )
[<DoesServiceRequestAttribute>] abstract ClearPagesAsync : startOffset:int64 * length:int64 -> Task [<DoesServiceRequestAttribute>] override ClearPagesAsync : startOffset:int64 * length:int64 -> Task
<DoesServiceRequestAttribute> Public Overridable Function ClearPagesAsync ( startOffset As Long, length As Long ) 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.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.