Show / Hide Table of Contents

    Class MqttConnectException

    The exception that is thrown when the MQTT client connection fails.

    Inheritance
    object
    Exception
    SilverbackException
    MqttConnectException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Silverback.Messaging.Broker.Mqtt
    Assembly: Silverback.Integration.MQTT.dll
    Syntax
    [Serializable]
    public class MqttConnectException : SilverbackException, ISerializable

    Constructors

    | Improve this doc View source

    MqttConnectException()

    Initializes a new instance of the MqttConnectException class.

    Declaration
    public MqttConnectException()
    | Improve this doc View source

    MqttConnectException(SerializationInfo, StreamingContext)

    Initializes a new instance of the MqttConnectException class with the serialized data.

    Declaration
    protected MqttConnectException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    | Improve this doc View source

    MqttConnectException(string)

    Initializes a new instance of the MqttConnectException class with the specified message.

    Declaration
    public MqttConnectException(string message)
    Parameters
    Type Name Description
    string message

    The exception message.

    | Improve this doc View source

    MqttConnectException(string, MqttClientPublishResult)

    Initializes a new instance of the MqttConnectException class with the specified message.

    Declaration
    public MqttConnectException(string message, MqttClientPublishResult result)
    Parameters
    Type Name Description
    string message

    The exception message.

    MqttClientPublishResult result

    The MQTTnet.Client.MqttClientPublishResult.

    | Improve this doc View source

    MqttConnectException(string, Exception)

    Initializes a new instance of the MqttConnectException class with the specified message and inner exception.

    Declaration
    public MqttConnectException(string message, Exception innerException)
    Parameters
    Type Name Description
    string message

    The exception message.

    Exception innerException

    The inner exception.

    Properties

    | Improve this doc View source

    Result

    Gets the MQTTnet.Client.MqttClientPublishResult of the failed publish operation.

    Declaration
    public MqttClientPublishResult? Result { get; }
    Property Value
    Type Description
    MqttClientPublishResult

    Implements

    ISerializable
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini