Expand Minimize

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.

MethodDescription
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.

PropertyAccess typeDescription

ConnectionID

Read-only

The connection ID.

InterfaceID

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 [desktop apps | Windows Store apps]

IDL

Mbnapi.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft