ICommunicationObject.EndOpen Method (IAsyncResult)

 

Completes an asynchronous operation to open a communication object.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

void EndOpen(
	IAsyncResult result
)

Parameters

result
Type: System.IAsyncResult

The IAsyncResult that is returned by a call to the BeginOpen method.

Exception Condition
CommunicationException

The ICommunicationObject was unable to be opened and has entered the Faulted state.

TimeoutException

The timeout elapsed before the ICommunicationObject was able to enter the Opened state and has entered the Faulted state.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: