Partager via


CM_SESSION_CONNECT_RETRY_REASON (Compact 2013)

3/26/2014

Provides information on why a re-connection was attempted.

Syntax

typedef enum CM_SESSION_CONNECT_RETRY_REASON {
    CMRR_CONNECTION_CONNECTED,
    CMRR_CONNECTION_AVAILABLE_TO_CONNECT,
        
    CMRR_LAST
} CM_SESSION_CONNECT_RETRY_REASON;

Element Definitions

  • CMRR_CONNECTION_CONNECTED
    The connection was in a valid connect state.
  • CMRR_CONNECTION_AVAILABLE_TO_CONNECT
    The connection was not connected and was in a state that allowed a connection to be made.
  • CMRR_LAST
    The last value.

Requirements

Header

cmnet.h

Library

cmnet.lib

See Also

Reference

Connection Manager Status and Notification Enumerations
CM_NOTIFICATION