Share via


DisconnectedEventRequest Class

Definition

Disconnected event request.

[System.Runtime.Serialization.DataContract]
[System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Azure.WebPubSub.Common.DisconnectedEventRequestJsonConverter))]
public class DisconnectedEventRequest : Microsoft.Azure.WebPubSub.Common.WebPubSubEventRequest
[<System.Runtime.Serialization.DataContract>]
[<System.Text.Json.Serialization.JsonConverter(typeof(Microsoft.Azure.WebPubSub.Common.DisconnectedEventRequestJsonConverter))>]
type DisconnectedEventRequest = class
    inherit WebPubSubEventRequest
Public Class DisconnectedEventRequest
Inherits WebPubSubEventRequest
Inheritance
DisconnectedEventRequest
Derived
Attributes

Constructors

DisconnectedEventRequest(WebPubSubConnectionContext, String)

The disconnected event request

Properties

ConnectionContext

Connection context contains connection metadata following CloudEvents.

(Inherited from WebPubSubEventRequest)
Reason

Reason of the disconnect event.

Applies to