WorkflowServiceHost.OnBeginClose(TimeSpan, AsyncCallback, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins an asynchronous operation invoked when the workflow service host is closed.
protected:
override IAsyncResult ^ OnBeginClose(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected override IAsyncResult OnBeginClose (TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginClose : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides Function OnBeginClose (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
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.