EventGridMqttClientDisconnectionReason Struct
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.
Reason for the disconnection of the MQTT client's session. The value could be one of the values in the disconnection reasons table.
public readonly struct EventGridMqttClientDisconnectionReason : IEquatable<Azure.Messaging.EventGrid.SystemEvents.EventGridMqttClientDisconnectionReason>
type EventGridMqttClientDisconnectionReason = struct
Public Structure EventGridMqttClientDisconnectionReason
Implements IEquatable(Of EventGridMqttClientDisconnectionReason)
- Inheritance
-
EventGridMqttClientDisconnectionReason
- Implements
Constructors
EventGridMqttClientDisconnectionReason(String) |
Initializes a new instance of EventGridMqttClientDisconnectionReason. |
Properties
ClientAuthenticationError |
The client got disconnected for any authentication reasons (for example, certificate expired, client got disabled, or client configuration changed). |
ClientAuthorizationError |
The client got disconnected for any authorization reasons (for example, because of a change in the configuration of topic spaces, permission bindings, or client groups). |
ClientError |
The client sent a bad request or used one of the unsupported features that resulted in a connection termination by the service. |
ClientInitiatedDisconnect |
The client initiates a graceful disconnect through a DISCONNECT packet for MQTT or a close frame for MQTT over WebSocket. |
ConnectionLost |
The client-server connection is lost. (EXCHANGE ONLINE PROTECTION). |
IPForbidden |
The client's IP address is blocked by IP filter or Private links configuration. |
QuotaExceeded |
The client exceeded one or more of the throttling limits that resulted in a connection termination by the service. |
ServerError |
The connection got terminated due to an unexpected server error. |
ServerInitiatedDisconnect |
The server initiates a graceful disconnect for any operational reason. |
SessionOverflow |
The client's queue for unacknowledged QoS1 messages reached its limit, which resulted in a connection termination by the server. |
SessionTakenOver |
The client reconnected with the same authentication name, which resulted in the termination of the previous connection. |
Methods
Equals(EventGridMqttClientDisconnectionReason) |
Indicates whether the current object is equal to another object of the same type. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(EventGridMqttClientDisconnectionReason, EventGridMqttClientDisconnectionReason) |
Determines if two EventGridMqttClientDisconnectionReason values are the same. |
Implicit(String to EventGridMqttClientDisconnectionReason) |
Converts a String to a EventGridMqttClientDisconnectionReason. |
Inequality(EventGridMqttClientDisconnectionReason, EventGridMqttClientDisconnectionReason) |
Determines if two EventGridMqttClientDisconnectionReason values are not the same. |
Applies to
Azure SDK for .NET