IMbnConnection::GetActivationNetworkError method

Gets the network error returned in a Packet Data Protocol (PDP) context activation failure.

Syntax


HRESULT GetActivationNetworkError(
  [out, retval] ULONG *networkError
);

Parameters

networkError [out, retval]

The error code returned by the network from the last connection context activation operation. The value is meaningful only if the method returns S_OK.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For GSM devices these error codes are defined in 3GPP specification 24.008 as cause codes. For CDMA devices, device and network specific error codes are used.

The error codes are cleared when the context activation operation completes successfully. When there is no network error or the error is not known, then the value is set to 0.

Whenever there is a change in the network error value, the Mobile Broadband service will call the OnConnectStateChange member of IMbnConnectionEvents.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

IDL

Mbnapi.idl

See also

IMbnConnection

 

 

Show: