Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ITransportChannel Dim callback As AsyncCallback Dim callbackData As Object Dim value As IAsyncResult value = instance.BeginReconnect(callback, callbackData) |
C# | |
---|---|
IAsyncResult BeginReconnect( AsyncCallback callback, object callbackData ) |
Parameters
- callback
- The callback to call when the operation completes.
- callbackData
- The callback data to return with the callback.
Return Value
The result which must be passed to the EndReconnect method.Exception | Description |
---|---|
ServiceResultException | Thrown if any communication error occurs. |
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x