Manages network connections for phone-enabled devices, regardless of the service provider used for establishing the connection.
ConnectionManager provides a fast and transparent way of making connection choices for an application.
| C# | Visual Basic |
public sealed class ConnectionManager
Public NotInheritable Class ConnectionManager
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| ConnectionManager()()()() |
Initializes a new instance of the ConnectionManager class.
| |
| ConnectionPriority |
Gets or sets the priority of the current connection request.
| |
| ConnectionStatus |
Returns the status of the current connection.
| |
| ConnectionStatusChanged |
Occurs when the connection status changes.
| |
| Destinations |
Returns the details of available networks.
| |
| DetailedStatus |
Returns an array of ConnectionDetailedStatus objects describing the state of all the available network connections.
| |
| Equals(Object) | (Inherited from Object.) | |
| EstablishConnection(Guid) |
Creates an asynchronous connection request.
| |
| EstablishConnectionSync(Guid, TimeSpan) |
Creates a connection request but returns information only after the connection has been established or has failed.
| |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MapConnectionReference(String) |
Maps a connection reference to its corresponding Guid.
| |
| MapUrl(Uri) |
Maps a Url to the globally unique identifier (Guid) of the network to which the device is connected.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ReleaseConnection()()()() |
Deletes the specified connection request, which could drop the physical connection.
| |
| ToString()()()() | (Inherited from Object.) |
| Platforms Supported | |
|---|---|
| Windows Mobile | Windows Mobile 2003 and later |
| Windows Embedded Compact | Windows CE 4.1 and later, Windows Embedded NavReady 2009 |
| Object | |
| ConnectionManager | |