ClientBase(Of TChannel).ICommunicationObject.BeginOpen Method (TimeSpan, AsyncCallback, Object)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Begins an asynchronous operation to open the ClientBase(Of TChannel) object within a specified interval of time.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Private Function BeginOpen ( _ timeout As TimeSpan, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult Implements ICommunicationObject.BeginOpen
Parameters
- timeout
- Type: System.TimeSpan
The time within which the call must complete.
- callback
- Type: System.AsyncCallback
The method that receives the callback on completion.
- state
- Type: System.Object
The state data.
Return Value
Type: System.IAsyncResultThe IAsyncResult that references the asynchronous open operation.
Implements
ICommunicationObject.BeginOpen(TimeSpan, AsyncCallback, Object)For more information, see System.ServiceModel.Channels.CommunicationObject.
Show: