/// <summary> /// Construct an instance of the DeviceRegistrationFailedException class /// </summary> /// <param name="code">Error code that occurred</param> /// <param name="subCode">Subcode that occurred</param> /// <param name="innerException">Inner exception</param> public DeviceRegistrationFailedException(DeviceRegistrationErrorCode code, string subCode, Exception innerException) : base(string.Concat(code.ToString(), ": ", subCode), innerException) { RegistrationErrorCode = code; }
/// <summary> /// Construct an instance of the DeviceRegistrationFailedException class /// </summary> /// <param name="code">Error code that occurred</param> /// <param name="subCode">Subcode that occurred</param> /// <param name="innerException">Inner exception</param> public DeviceRegistrationFailedException(DeviceRegistrationErrorCode code, string subCode, Exception innerException) : base(string.Concat(code.ToString(), ": ", subCode), innerException) { this.RegistrationErrorCode = code; }
/// <summary> /// Construct an instance of the DeviceRegistrationFailedException class /// </summary> /// <param name="code">Error code that occurred</param> /// <param name="subCode">Subcode that occurred</param> /// <param name="innerException">Inner exception</param> internal DeviceRegistrationFailedException(DeviceRegistrationErrorCode code, string subCode, Exception innerException) : base(code.ToString() + ": " + subCode, innerException) { }