Share via


DeviceRegistrationResult Class

Definition

The result of a registration operation.

public class DeviceRegistrationResult
type DeviceRegistrationResult = class
Public Class DeviceRegistrationResult
Inheritance
DeviceRegistrationResult

Constructors

DeviceRegistrationResult()

For deserialization and unit testing.

DeviceRegistrationResult(String, Nullable<DateTime>, String, String, ProvisioningRegistrationStatusType, ProvisioningRegistrationSubstatusType, String, Nullable<DateTime>, Int32, String, String)

Used internally by the SDK to create a new instance of the DeviceRegistrationResult class. This constructor is exposed to allow serialization and unit testing of applications using this SDK.

DeviceRegistrationResult(String, Nullable<DateTime>, String, String, ProvisioningRegistrationStatusType, ProvisioningRegistrationSubstatusType, String, Nullable<DateTime>, Int32, String, String, String)

. Constructor to allow return data

DeviceRegistrationResult(String, Nullable<DateTime>, String, String, ProvisioningRegistrationStatusType, String, Nullable<DateTime>, Int32, String, String)

Used internally by the SDK to create a new instance of the DeviceRegistrationResult class. This constructor is exposed to allow serialization and unit testing of applications using this SDK.

Properties

AssignedHub

The assigned Azure IoT hub.

CreatedDateTimeUtc

The time when the device originally registered with the service.

CreatedOnUtc

Registration create date time (in UTC).

DeviceId

The Device Id.

ErrorCode

Error code.

ErrorMessage

Error message.

Etag

The entity tag associated with the resource.

GenerationId

The generation Id.

JsonPayload

The custom data returned from the webhook to the device.

LastUpdatedDateTimeUtc

The time when the device last refreshed the registration.

LastUpdatedOnUtc

The time when the device last refreshed the registration.

Payload

The custom data returned from the webhook to the device.

RegistrationId

This id is used to uniquely identify a device registration of an enrollment.

Status

The status of the operation.

Substatus

The substatus of the operation.

SymmetricKey

The registration result for symmetric key authentication.

X509

The registration result for X.509 certificate authentication.

Applies to