CloudFileStream.BeginCommit(AsyncCallback, Object) Method

Definition

Begins an asynchronous commit operation.

public abstract Microsoft.Azure.Storage.ICancellableAsyncResult BeginCommit (AsyncCallback callback, object state);
abstract member BeginCommit : AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public MustOverride Function BeginCommit (callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameters

callback
AsyncCallback

An optional asynchronous callback, to be called when the commit is complete.

state
Object

A user-provided object that distinguishes this particular asynchronous commit request from other requests.

Returns

An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending.

Applies to