Class UnitWorkflowErrorsException
The exception that is thrown when one or more workflow errors are specified in the status from a unit scan operation.
public class UnitWorkflowErrorsException : Exception, ISerializable
- Inheritance
-
UnitWorkflowErrorsException
- Implements
- Inherited Members
Constructors
UnitWorkflowErrorsException()
Initializes a new instance of the UnitWorkflowErrorsException class.
public UnitWorkflowErrorsException()
UnitWorkflowErrorsException(UnitScanStatus)
Initializes a new instance of the UnitWorkflowErrorsException class with a specified error message.
public UnitWorkflowErrorsException(UnitScanStatus unitScanStatus)
Parameters
unitScanStatusUnitScanStatusThe unit scan status containing the workflow errors.
Exceptions
- ArgumentNullException
unitScanStatusis null.
UnitWorkflowErrorsException(string?)
Initializes a new instance of the UnitWorkflowErrorsException class with a specified error message.
public UnitWorkflowErrorsException(string? message)
Parameters
messagestringThe message that describes the error.
UnitWorkflowErrorsException(string?, Exception?)
Initializes a new instance of the UnitWorkflowErrorsException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public UnitWorkflowErrorsException(string? message, Exception? inner)
Parameters
messagestringThe message that describes the error.
innerExceptionThe exception that is the cause of the current exception, or null if no inner exception is specified.
Properties
UnitScanStatus
Gets the unit scan status containing the workflow errors.
public UnitScanStatus? UnitScanStatus { get; }