Class ValidationResult
Represents validation results for the id validation methods.
Inheritance
System.Object
ValidationResult
Namespace: DNVGL.One.Compute.Core.IdValidation
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class ValidationResult : object
Constructors
View SourceValidationResult(Boolean, String, Exception)
Initializes a new instance of the ValidationResult class.
Declaration
public ValidationResult(bool isValid, string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isValid | if set to |
System.String | message | The exception message. |
Exception | innerException | The inner exception. |
Properties
View SourceInnerException
Gets the inner exception.
Declaration
public Exception InnerException { get; }
Property Value
Type | Description |
---|---|
Exception | The inner exception. |
IsValid
Gets a value indicating whether the user/job identifier is valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Message
Gets the exception message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | The message. |