Error handling when using TLS

The following reason codes can be issued by IBM MQ classes for .NET when connecting to a queue manager using TLS:

    MQRC_SSL_NOT_ALLOWED
    The SSLCipherSpec property was set, but bindings connect was used. Only client connect supports TLS.

    MQRC_SSL_PEER_NAME_MISMATCH
    The DN pattern specified in the SSLPeerName property did not match the DN presented by the queue manager.

    MQRC_SSL_PEER_NAME_ERROR
    The DN pattern specified in the SSLPeerName property was not valid.