C#
C++
F#
VB
CloudAppendBlob.::..BeginCreateOrReplace Method (AsyncCallback, Object)(AsyncCallback^, Object^)(AsyncCallback, Object)(AsyncCallback, Object)
Begins an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, use BeginCreateOrReplace.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual ICancellableAsyncResult BeginCreateOrReplace( AsyncCallback callback, object state )
C++
public: [DoesServiceRequestAttribute] virtual ICancellableAsyncResult^ BeginCreateOrReplace( AsyncCallback^ callback, Object^ state )
[<DoesServiceRequestAttribute>] abstract BeginCreateOrReplace : callback:AsyncCallback * state:Object -> ICancellableAsyncResult [<DoesServiceRequestAttribute>] override BeginCreateOrReplace : callback:AsyncCallback * state:Object -> ICancellableAsyncResult
<DoesServiceRequestAttribute> Public Overridable Function BeginCreateOrReplace ( callback As AsyncCallback, state As Object ) As ICancellableAsyncResult
Parameters
- 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.
See Also
BeginCreateOrReplace Overload
CloudAppendBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace