DeviceRegistrationResult Constructors
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.
Overloads
DeviceRegistrationResult()
For deserialization and unit testing.
protected internal DeviceRegistrationResult ();
Protected Friend Sub New ()
Applies to
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.
public DeviceRegistrationResult (string registrationId, DateTime? createdDateTimeUtc, string assignedHub, string deviceId, Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationStatusType status, string generationId, DateTime? lastUpdatedDateTimeUtc, int errorCode, string errorMessage, string etag);
new Microsoft.Azure.Devices.Provisioning.Client.DeviceRegistrationResult : string * Nullable<DateTime> * string * string * Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationStatusType * string * Nullable<DateTime> * int * string * string -> Microsoft.Azure.Devices.Provisioning.Client.DeviceRegistrationResult
Public Sub New (registrationId As String, createdDateTimeUtc As Nullable(Of DateTime), assignedHub As String, deviceId As String, status As ProvisioningRegistrationStatusType, generationId As String, lastUpdatedDateTimeUtc As Nullable(Of DateTime), errorCode As Integer, errorMessage As String, etag As String)
Parameters
- registrationId
- String
- assignedHub
- String
- deviceId
- String
- generationId
- String
- errorCode
- Int32
- errorMessage
- String
- etag
- String
Applies to
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.
public DeviceRegistrationResult (string registrationId, DateTime? createdDateTimeUtc, string assignedHub, string deviceId, Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationStatusType status, Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationSubstatusType substatus, string generationId, DateTime? lastUpdatedDateTimeUtc, int errorCode, string errorMessage, string etag);
new Microsoft.Azure.Devices.Provisioning.Client.DeviceRegistrationResult : string * Nullable<DateTime> * string * string * Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationStatusType * Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationSubstatusType * string * Nullable<DateTime> * int * string * string -> Microsoft.Azure.Devices.Provisioning.Client.DeviceRegistrationResult
Public Sub New (registrationId As String, createdDateTimeUtc As Nullable(Of DateTime), assignedHub As String, deviceId As String, status As ProvisioningRegistrationStatusType, substatus As ProvisioningRegistrationSubstatusType, generationId As String, lastUpdatedDateTimeUtc As Nullable(Of DateTime), errorCode As Integer, errorMessage As String, etag As String)
Parameters
- registrationId
- String
- assignedHub
- String
- deviceId
- String
- substatus
- ProvisioningRegistrationSubstatusType
- generationId
- String
- errorCode
- Int32
- errorMessage
- String
- etag
- String
Applies to
DeviceRegistrationResult(String, Nullable<DateTime>, String, String, ProvisioningRegistrationStatusType, ProvisioningRegistrationSubstatusType, String, Nullable<DateTime>, Int32, String, String, String)
. Constructor to allow return data
public DeviceRegistrationResult (string registrationId, DateTime? createdDateTimeUtc, string assignedHub, string deviceId, Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationStatusType status, Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationSubstatusType substatus, string generationId, DateTime? lastUpdatedDateTimeUtc, int errorCode, string errorMessage, string etag, string returnData);
new Microsoft.Azure.Devices.Provisioning.Client.DeviceRegistrationResult : string * Nullable<DateTime> * string * string * Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationStatusType * Microsoft.Azure.Devices.Provisioning.Client.ProvisioningRegistrationSubstatusType * string * Nullable<DateTime> * int * string * string * string -> Microsoft.Azure.Devices.Provisioning.Client.DeviceRegistrationResult
Public Sub New (registrationId As String, createdDateTimeUtc As Nullable(Of DateTime), assignedHub As String, deviceId As String, status As ProvisioningRegistrationStatusType, substatus As ProvisioningRegistrationSubstatusType, generationId As String, lastUpdatedDateTimeUtc As Nullable(Of DateTime), errorCode As Integer, errorMessage As String, etag As String, returnData As String)
Parameters
- registrationId
- String
- assignedHub
- String
- deviceId
- String
- substatus
- ProvisioningRegistrationSubstatusType
- generationId
- String
- errorCode
- Int32
- errorMessage
- String
- etag
- String
- returnData
- String