Creates a connection request but returns information only after the connection has been established or has failed.
| C# | Visual Basic |
public ConnectionStatus EstablishConnectionSync( Guid destination, TimeSpan timeout )
Public Function EstablishConnectionSync ( _ destination As Guid, _ timeout As TimeSpan _ ) As ConnectionStatus
Resulting ConnectionStatus after success or expiration of the timeout.
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile 2003 and later |
| Windows Embedded Compact | Windows Embedded Compact 6.0 and later, Windows Embedded NavReady 2009 |