WorkflowServiceHost.OnBeginClose(TimeSpan, AsyncCallback, Object) Method

Definition

Begins an asynchronous operation invoked when the workflow service host is closed.

protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state);

Parameters

timeout
TimeSpan

The period of time the asynchronous close operation has to complete before timing out.

callback
AsyncCallback

The asynchronous callback delegate that receives notification of the completion of the asynchronous close operation.

state
Object

User-define state data that is associated with the asynchronous close operation.

Returns

A reference to the asynchronous close operation.

Applies to

Produkt Verze
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1