你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeviceRegistrationResult 构造函数

定义

重载

DeviceRegistrationResult()

用于反序列化和单元测试。

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

SDK 在内部用于创建 DeviceRegistrationResult 类的新实例。 公开此构造函数以允许使用此 SDK 对应用程序进行序列化和单元测试。

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

SDK 在内部用于创建 DeviceRegistrationResult 类的新实例。 公开此构造函数以允许使用此 SDK 对应用程序进行序列化和单元测试。

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

. 允许返回数据的构造函数

DeviceRegistrationResult()

用于反序列化和单元测试。

protected internal DeviceRegistrationResult ();
Protected Friend Sub New ()

适用于

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

SDK 在内部用于创建 DeviceRegistrationResult 类的新实例。 公开此构造函数以允许使用此 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)

参数

registrationId
String
createdDateTimeUtc
Nullable<DateTime>
assignedHub
String
deviceId
String
generationId
String
lastUpdatedDateTimeUtc
Nullable<DateTime>
errorCode
Int32
errorMessage
String
etag
String

适用于

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

SDK 在内部用于创建 DeviceRegistrationResult 类的新实例。 公开此构造函数以允许使用此 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)

参数

registrationId
String
createdDateTimeUtc
Nullable<DateTime>
assignedHub
String
deviceId
String
generationId
String
lastUpdatedDateTimeUtc
Nullable<DateTime>
errorCode
Int32
errorMessage
String
etag
String

适用于

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

. 允许返回数据的构造函数

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)

参数

registrationId
String
createdDateTimeUtc
Nullable<DateTime>
assignedHub
String
deviceId
String
generationId
String
lastUpdatedDateTimeUtc
Nullable<DateTime>
errorCode
Int32
errorMessage
String
etag
String
returnData
String

适用于