SqlPersistenceProviderFactory.OnBeginClose 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.
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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET