MqttConnectEventRequest.CreateMqttV311ErrorResponse Method
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.
Creates error response for MQTT protocol 3.1.1.
public Microsoft.Azure.WebPubSub.Common.MqttConnectEventErrorResponse CreateMqttV311ErrorResponse (Microsoft.Azure.WebPubSub.Common.MqttV311ConnectReturnCode code, string? message = default);
member this.CreateMqttV311ErrorResponse : Microsoft.Azure.WebPubSub.Common.MqttV311ConnectReturnCode * string -> Microsoft.Azure.WebPubSub.Common.MqttConnectEventErrorResponse
Public Function CreateMqttV311ErrorResponse (code As MqttV311ConnectReturnCode, Optional message As String = Nothing) As MqttConnectEventErrorResponse
Parameters
- message
- String
Returns
A error response to return caller and will drop connection.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET