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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour