This topic has not yet been rated - Rate this topic

ICommunicationObject.EndClose Method

April 12, 2014

Completes an asynchronous operation to close a communication object.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
void EndClose(
	IAsyncResult result
)

Parameters

result
Type: System.IAsyncResult
The IAsyncResult that is returned by a call to the BeginClose method.
ExceptionCondition
CommunicationObjectFaultedException

BeginClose was called on an object in the Faulted state.

TimeoutException

The time-out elapsed before the ICommunicationObject was able to close gracefully.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.