C#
C++
F#
VB
CloudPageBlob.::..BeginClearPages Method (Int64, Int64, AsyncCallback, Object)(Int64, Int64, AsyncCallback^, Object^)(Int64, Int64, AsyncCallback, Object)(Int64, Int64, AsyncCallback, Object)
Begins an asynchronous operation to clear pages from a page blob.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual ICancellableAsyncResult BeginClearPages( long startOffset, long length, AsyncCallback callback, object state )
C++
public: [DoesServiceRequestAttribute] virtual ICancellableAsyncResult^ BeginClearPages( long long startOffset, long long length, AsyncCallback^ callback, Object^ state )
[<DoesServiceRequestAttribute>] abstract BeginClearPages : startOffset:int64 * length:int64 * callback:AsyncCallback * state:Object -> ICancellableAsyncResult [<DoesServiceRequestAttribute>] override BeginClearPages : startOffset:int64 * length:int64 * callback:AsyncCallback * state:Object -> ICancellableAsyncResult
<DoesServiceRequestAttribute> Public Overridable Function BeginClearPages ( startOffset As Long, length As Long, callback As AsyncCallback, state As Object ) As ICancellableAsyncResult
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.
- callback
-
Type:
System.AsyncCallbackSystem::AsyncCallback^System.AsyncCallbackSystem.AsyncCallback
An AsyncCallback delegate that will receive notification when the asynchronous operation completes.
- state
-
Type:
System.ObjectSystem::Object^System.ObjectSystem.Object
A user-defined object that will be passed to the callback delegate.
Return Value
Type: Microsoft.WindowsAzure.Storage.ICancellableAsyncResultMicrosoft.WindowsAzure.Storage::ICancellableAsyncResult^Microsoft.WindowsAzure.Storage.ICancellableAsyncResultMicrosoft.WindowsAzure.Storage.ICancellableAsyncResultAn ICancellableAsyncResult that references the asynchronous operation.