Class ProcessNotEvaluatedException
- Namespace
- Loehnert.TypeAndResult.Exceptions
- Assembly
- Loehnert.TypeAndResult.dll
An exception that is thrown when not all processes are evaluated.
[Serializable]
public class ProcessNotEvaluatedException : Exception, ISerializable, _Exception
- Inheritance
-
ProcessNotEvaluatedException
- Implements
- Inherited Members
Constructors
ProcessNotEvaluatedException()
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException()
ProcessNotEvaluatedException(IEnumerable<Process>, MeasureCycle)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(IEnumerable<Process> notEvaluatedProcesses, MeasureCycle measureCycle)
Parameters
notEvaluatedProcessesIEnumerable<Process>An enumeration of the not measured attributes.
measureCycleMeasureCycleType data process.
Exceptions
- ArgumentNullException
Thrown when
notEvaluatedProcessesormeasureCycleis null.
ProcessNotEvaluatedException(SerializationInfo, StreamingContext)
Initializes a new instance of the ProcessNotEvaluatedException class with serialized data.
protected ProcessNotEvaluatedException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
Exceptions
- ArgumentNullException
The
infoparameter is null.- SerializationException
The class name is null or HResult is zero (0).
ProcessNotEvaluatedException(string)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(string message)
Parameters
messagestringThe error message that explains the reason for the exception.
ProcessNotEvaluatedException(string, IEnumerable<Process>, MeasureCycle)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(string message, IEnumerable<Process> notEvaluatedProcesses, MeasureCycle measureCycle)
Parameters
messagestringThe error message that explains the reason for the exception.
notEvaluatedProcessesIEnumerable<Process>An enumeration of the not measured attributes.
measureCycleMeasureCycleType data process.
Exceptions
- ArgumentNullException
Thrown when
notEvaluatedProcessesormeasureCycleis null.
ProcessNotEvaluatedException(string, Exception)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(string message, Exception innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
ProcessNotEvaluatedException(string, Exception, IEnumerable<Process>, MeasureCycle)
Initializes a new instance of the ProcessNotEvaluatedException class.
public ProcessNotEvaluatedException(string message, Exception innerException, IEnumerable<Process> notEvaluated, MeasureCycle measureCycle)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
notEvaluatedIEnumerable<Process>An enumeration of the not measured attributes.
measureCycleMeasureCycleType data process.
Exceptions
- ArgumentNullException
Thrown when
notEvaluatedormeasureCycleis null.
Properties
MeasureCycle
Gets the measure cycle.
public MeasureCycle MeasureCycle { get; }
Property Value
Message
Gets the localized exception message.
public override string Message { get; }
Property Value
NotEvaluatedProcesses
Gets the not measured processes.
public IEnumerable<Process> NotEvaluatedProcesses { get; }