Dela via


Device.ConnectionState Property

Definition

Device's connection state.

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
[Newtonsoft.Json.JsonProperty(PropertyName="connectionState")]
public Microsoft.Azure.Devices.DeviceConnectionState ConnectionState { get; }
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
[Newtonsoft.Json.JsonProperty(PropertyName="connectionState")]
public Microsoft.Azure.Devices.ClientConnectionState ConnectionState { get; }
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
[<Newtonsoft.Json.JsonProperty(PropertyName="connectionState")>]
member this.ConnectionState : Microsoft.Azure.Devices.DeviceConnectionState
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
[<Newtonsoft.Json.JsonProperty(PropertyName="connectionState")>]
member this.ConnectionState : Microsoft.Azure.Devices.ClientConnectionState
Public ReadOnly Property ConnectionState As DeviceConnectionState
Public ReadOnly Property ConnectionState As ClientConnectionState

Property Value

Attributes
Newtonsoft.Json.JsonConverterAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to