CloudBlobStream.BeginCommit Method (AsyncCallback, Object) (Microsoft.WindowsAzure.Storage.Blob)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
CloudBlobStream.::..BeginCommit Method (AsyncCallback, Object)(AsyncCallback^, Object^)(AsyncCallback, Object)(AsyncCallback, Object)
Begins an asynchronous commit operation.
Namespace:
Microsoft.WindowsAzure.Storage.Blob
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public abstract ICancellableAsyncResult BeginCommit(
AsyncCallback callback,
object state
)
C++
public:
virtual ICancellableAsyncResult^ BeginCommit(
AsyncCallback^ callback,
Object^ state
) abstract
Public MustOverride Function BeginCommit (
callback As AsyncCallback,
state As Object
) As ICancellableAsyncResult
Parameters
- callback
-
Type:
System.AsyncCallbackSystem::AsyncCallback^System.AsyncCallbackSystem.AsyncCallback
An optional asynchronous callback, to be called when the commit is complete.
- state
-
Type:
System.ObjectSystem::Object^System.ObjectSystem.Object
A user-provided object that distinguishes this particular asynchronous commit request from other requests.
Return Value
Type:
Microsoft.WindowsAzure.Storage.ICancellableAsyncResultMicrosoft.WindowsAzure.Storage::ICancellableAsyncResult^Microsoft.WindowsAzure.Storage.ICancellableAsyncResultMicrosoft.WindowsAzure.Storage.ICancellableAsyncResultAn ICancellableAsyncResult that represents the asynchronous commit, which could still be pending.
Return to top
Begins an asynchronous commit operation.
Syntax
public abstract ICancellableAsyncResult BeginCommit( AsyncCallback callback, object state )
C++
public: virtual ICancellableAsyncResult^ BeginCommit( AsyncCallback^ callback, Object^ state ) abstract
Public MustOverride Function BeginCommit ( callback As AsyncCallback, state As Object ) As ICancellableAsyncResult
Parameters
- callback
-
Type:
System.AsyncCallbackSystem::AsyncCallback^System.AsyncCallbackSystem.AsyncCallback
An optional asynchronous callback, to be called when the commit is complete.
- state
-
Type:
System.ObjectSystem::Object^System.ObjectSystem.Object
A user-provided object that distinguishes this particular asynchronous commit request from other requests.
Return Value
Type: Microsoft.WindowsAzure.Storage.ICancellableAsyncResultMicrosoft.WindowsAzure.Storage::ICancellableAsyncResult^Microsoft.WindowsAzure.Storage.ICancellableAsyncResultMicrosoft.WindowsAzure.Storage.ICancellableAsyncResultAn ICancellableAsyncResult that represents the asynchronous commit, which could still be pending.