IMbnConnection interface
Represents the network connectivity of a device.
Members
The IMbnConnection interface inherits from the IUnknown interface. IMbnConnection also has these types of members:
Methods
The IMbnConnection interface has these methods.
| Method | Description |
|---|---|
| Connect |
Establishes a data connection. |
| Disconnect |
Disconnects a data connection. |
| GetActivationNetworkError |
Gets the network error returned in a context activation failure. |
| GetConnectionState |
Gets the current connection state of the device. |
| GetVoiceCallState |
Gets the voice call state of the device. |
Properties
The IMbnConnection interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
The connection ID. | |
|
Read-only |
The interface ID. |
Remarks
This interface is only available when a Mobile Broadband device is registered to a network or when the device is in MBN_READY_STATE_DEVICE_LOCKED state. When a device deregisters from the network this COM interface is removed and the Mobile Broadband service will call the OnConnectionRemoval method of the IMbnConnectionManagerEvents interface.
IMbnConnection objects are provided by calls to the GetConnection and GetConnections methods of the IMbnConnectionManager interface.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
IDL |
|