Show / Hide Table of Contents

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 Source

ValidationResult(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 true the user/job id is valid.

System.String message

The exception message.

Exception innerException

The inner exception.

Properties

View Source

InnerException

Gets the inner exception.

Declaration
public Exception InnerException { get; }
Property Value
Type Description
Exception

The inner exception.

View Source

IsValid

Gets a value indicating whether the user/job identifier is valid.

Declaration
public bool IsValid { get; }
Property Value
Type Description
System.Boolean

true if this instance is valid; otherwise, false.

View Source

Message

Gets the exception message.

Declaration
public string Message { get; }
Property Value
Type Description
System.String

The message.

  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.