CommunicationObject.BeginOpen Method (TimeSpan, AsyncCallback, Object)
Begins an asynchronous operation to close a communication object within a specified interval of time.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Function BeginOpen ( _ timeout As TimeSpan, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult
public IAsyncResult BeginOpen( TimeSpan timeout, AsyncCallback callback, Object state )
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.
timeout is less than zero.
The communication object is in a Faulted state and cannot be modified.
The interval of time specified by timeout that was allotted for the operation was exceeded before the operation was completed.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.