Modifica

Condividi tramite


SqlPersistenceProviderFactory.OnBeginClose Method

Definition

Represents the beginning of the Close phase.

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 time period after which the persistence provider aborts this attempt.

callback
AsyncCallback

The method to be called when the operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other operations.

Returns

The state of the OnBeginClose(TimeSpan, AsyncCallback, Object) asynchronous method call.

Remarks

The Close phase occurs when the service is closed.

Applies to