예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <summary>
 /// Construct an instance of the DeviceRegistrationFailedException class
 /// </summary>
 /// <param name="code">Error code that occurred</param>
 /// <param name="subCode">Subcode that occurred</param>
 public DeviceRegistrationFailedException(DeviceRegistrationErrorCode code, string subCode)
     : this(code, subCode, null)
 {
 }
 /// <summary>
 ///     Construct an instance of the DeviceRegistrationFailedException class
 /// </summary>
 /// <param name="code">Error code that occurred</param>
 /// <param name="subCode">Subcode that occurred</param>
 public DeviceRegistrationFailedException(DeviceRegistrationErrorCode code, string subCode)
     : this(code, subCode, null)
 {
 }
 /// <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>
 internal DeviceRegistrationFailedException(DeviceRegistrationErrorCode code, string subCode, Exception innerException) : base(code.ToString() + ": " + subCode, innerException)
 {
 }