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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈