Επεξεργασία

Κοινή χρήση μέσω


SqlPersistenceProviderFactory.OnBeginOpen Method

Definition

Represents the beginning of the Open phase.

protected:
 override IAsyncResult ^ OnBeginOpen(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected override IAsyncResult OnBeginOpen (TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides Function OnBeginOpen (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 OnBeginOpen(TimeSpan, AsyncCallback, Object) asynchronous method call.

Remarks

The Open phase occurs when the service is opened.

Applies to