ICommunicationObject.EndClose Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Completes an asynchronous operation to close a communication object.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- result
- Type: System.IAsyncResult
The IAsyncResult that is returned by a call to the BeginClose method.
| Exception | Condition |
|---|---|
| CommunicationObjectFaultedException | BeginClose was called on an object in the Faulted state. |
| TimeoutException | The time-out elapsed before the ICommunicationObject was able to close gracefully. |
Show: