CommunicationObject.OnEndClose(IAsyncResult) 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.
Completes an asynchronous operation on the close of a communication object.
protected:
abstract void OnEndClose(IAsyncResult ^ result);
protected abstract void OnEndClose (IAsyncResult result);
abstract member OnEndClose : IAsyncResult -> unit
Protected MustOverride Sub OnEndClose (result As IAsyncResult)
Parameters
- result
- IAsyncResult
The IAsyncResult that is returned by a call to the OnEndClose(IAsyncResult) method.
Exceptions
The communication object is in a Faulted state and cannot be modified.
The default interval of time that was allotted for the operation was exceeded before the operation was completed.
Remarks
The EndClose(IAsyncResult) method calls OnEndClose(IAsyncResult) if the communication object is not already in a Closed state.
Applies to
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk