CommunicationObject.BeginOpen Method (TimeSpan, AsyncCallback, Object)
Begins an asynchronous operation to open a communication object within a specified interval of time.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
abstract BeginOpen : timeout:TimeSpan * callback:AsyncCallback * state:Object -> IAsyncResult override BeginOpen : timeout:TimeSpan * callback:AsyncCallback * state:Object -> IAsyncResult
The TimeSpan that specifies how long the send operation has to complete before timing out.
The AsyncCallback delegate that receives notification of the completion of the asynchronous open operation.
An object, specified by the application, that contains state information associated with the asynchronous open operation.
Return ValueType: System.IAsyncResult
The IAsyncResult that references the asynchronous open operation.
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.
Available since 8
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0