Share via


DeviceRegistrationFailedException Constructors

Definition

Overloads

DeviceRegistrationFailedException()

Construct an instance of the DeviceRegistrationFailedException class

DeviceRegistrationFailedException(String)

Construct an instance of the DeviceRegistrationFailedException class

DeviceRegistrationFailedException(DeviceRegistrationErrorCode, String)

Construct an instance of the DeviceRegistrationFailedException class

DeviceRegistrationFailedException(String, Exception)

Construct an instance of the DeviceRegistrationFailedException class

DeviceRegistrationFailedException(DeviceRegistrationErrorCode, String, Exception)

Construct an instance of the DeviceRegistrationFailedException class

DeviceRegistrationFailedException()

Construct an instance of the DeviceRegistrationFailedException class

public:
 DeviceRegistrationFailedException();
public DeviceRegistrationFailedException ();
Public Sub New ()

Applies to

DeviceRegistrationFailedException(String)

Construct an instance of the DeviceRegistrationFailedException class

public:
 DeviceRegistrationFailedException(System::String ^ message);
public DeviceRegistrationFailedException (string message);
new Microsoft.Xrm.Tooling.Connector.DeviceRegistrationFailedException : string -> Microsoft.Xrm.Tooling.Connector.DeviceRegistrationFailedException
Public Sub New (message As String)

Parameters

message
String

Message to pass

Applies to

DeviceRegistrationFailedException(DeviceRegistrationErrorCode, String)

Construct an instance of the DeviceRegistrationFailedException class

public:
 DeviceRegistrationFailedException(Microsoft::Xrm::Tooling::Connector::DeviceRegistrationErrorCode code, System::String ^ subCode);
public DeviceRegistrationFailedException (Microsoft.Xrm.Tooling.Connector.DeviceRegistrationErrorCode code, string subCode);
new Microsoft.Xrm.Tooling.Connector.DeviceRegistrationFailedException : Microsoft.Xrm.Tooling.Connector.DeviceRegistrationErrorCode * string -> Microsoft.Xrm.Tooling.Connector.DeviceRegistrationFailedException
Public Sub New (code As DeviceRegistrationErrorCode, subCode As String)

Parameters

code
DeviceRegistrationErrorCode

Error code that occurred

subCode
String

Subcode that occurred

Applies to

DeviceRegistrationFailedException(String, Exception)

Construct an instance of the DeviceRegistrationFailedException class

public:
 DeviceRegistrationFailedException(System::String ^ message, Exception ^ innerException);
public DeviceRegistrationFailedException (string message, Exception innerException);
new Microsoft.Xrm.Tooling.Connector.DeviceRegistrationFailedException : string * Exception -> Microsoft.Xrm.Tooling.Connector.DeviceRegistrationFailedException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Message to pass

innerException
Exception

Exception to include

Applies to

DeviceRegistrationFailedException(DeviceRegistrationErrorCode, String, Exception)

Construct an instance of the DeviceRegistrationFailedException class

public:
 DeviceRegistrationFailedException(Microsoft::Xrm::Tooling::Connector::DeviceRegistrationErrorCode code, System::String ^ subCode, Exception ^ innerException);
public DeviceRegistrationFailedException (Microsoft.Xrm.Tooling.Connector.DeviceRegistrationErrorCode code, string subCode, Exception innerException);
new Microsoft.Xrm.Tooling.Connector.DeviceRegistrationFailedException : Microsoft.Xrm.Tooling.Connector.DeviceRegistrationErrorCode * string * Exception -> Microsoft.Xrm.Tooling.Connector.DeviceRegistrationFailedException
Public Sub New (code As DeviceRegistrationErrorCode, subCode As String, innerException As Exception)

Parameters

code
DeviceRegistrationErrorCode

Error code that occurred

subCode
String

Subcode that occurred

innerException
Exception

Inner exception

Applies to