ChannelMessageProcessingException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ChannelMessageProcessingException(Exception, IChannelHandlerContext) |
Creates an instance of ChannelMessageProcessingException with a reference to the inner exception that caused this exception and the MQTT channel handler context. |
ChannelMessageProcessingException(SerializationInfo, StreamingContext) |
Initializes a new instance of the ChannelMessageProcessingException class with the specified serialization and context information. |
ChannelMessageProcessingException(Exception, IChannelHandlerContext)
Creates an instance of ChannelMessageProcessingException with a reference to the inner exception that caused this exception and the MQTT channel handler context.
public ChannelMessageProcessingException (Exception innerException, DotNetty.Transport.Channels.IChannelHandlerContext context);
new Microsoft.Azure.Devices.Client.Transport.Mqtt.ChannelMessageProcessingException : Exception * DotNetty.Transport.Channels.IChannelHandlerContext -> Microsoft.Azure.Devices.Client.Transport.Mqtt.ChannelMessageProcessingException
Public Sub New (innerException As Exception, context As IChannelHandlerContext)
Parameters
- innerException
- Exception
The exception that is the cause of the current exception.
- context
- DotNetty.Transport.Channels.IChannelHandlerContext
The context associated with the MQTT channel.
Applies to
ChannelMessageProcessingException(SerializationInfo, StreamingContext)
Initializes a new instance of the ChannelMessageProcessingException class with the specified serialization and context information.
protected ChannelMessageProcessingException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Devices.Client.Transport.Mqtt.ChannelMessageProcessingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Devices.Client.Transport.Mqtt.ChannelMessageProcessingException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
An object that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
An object that contains contextual information about the source or destination.
Applies to
Azure SDK for .NET