ICommunicationObject.EndClose(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 to close a communication object.
public:
void EndClose(IAsyncResult ^ result);
public void EndClose (IAsyncResult result);
abstract member EndClose : IAsyncResult -> unit
Public Sub EndClose (result As IAsyncResult)
Parameters
- result
- IAsyncResult
The IAsyncResult that is returned by a call to the BeginClose method.
Exceptions
BeginClose was called on an object in the Faulted state.
The timeout elapsed before the ICommunicationObject was able to close gracefully.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.