Class QRBillValidationException
Exception thrown if the bill data is not valid.
Inheritance
System.Object
System.Exception
QRBillValidationException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Codecrete.SwissQRBill.Generator
Assembly: Codecrete.SwissQRBill.Core.dll
Syntax
[Serializable]
public class QRBillValidationException : Exception, ISerializable
Constructors
| Improve this Doc View SourceQRBillValidationException(ValidationResult)
Initializes a new instance with the specified validation result.
Declaration
public QRBillValidationException(ValidationResult result)
Parameters
Type | Name | Description |
---|---|---|
ValidationResult | result | The validation result. |
QRBillValidationException(SerializationInfo, StreamingContext)
Declaration
protected QRBillValidationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Properties
| Improve this Doc View SourceMessage
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
System.Exception.Message
|
Improve this Doc
View Source
Result
Gets the validation result with the error messages.
Declaration
public ValidationResult Result { get; }
Property Value
Type | Description |
---|---|
ValidationResult | The validation result. |
Implements
System.Runtime.Serialization.ISerializable