msg_type = (MessageType)msg.GetIntProperty( MessageProperties.MSG_TYPE );
if( msg_type == MessageType.NETWORK_STATUS_NOTIFICATION ) {
// Process a network status change.
mgr.TriggerSendReceive( );
} else if ( msg_type == MessageType.PUSH_NOTIFICATION ) {
// Process a push notification.
mgr.TriggerSendReceive( );
} else if ( msg_type == MessageType.REGULAR ) {
// This message type should not be received on the
// system queue. Take appropriate action here.
}