Share via


CloudFileStream.BeginFlush(AsyncCallback, Object) Method

Definition

Begins an asynchronous flush operation.

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

Parameters

callback
AsyncCallback

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

state
Object

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

Returns

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

Applies to