Table of Contents

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

notEvaluatedProcesses IEnumerable<Process>

An enumeration of the not measured attributes.

measureCycle MeasureCycle

Type data process.

Exceptions

ArgumentNullException

Thrown when notEvaluatedProcesses or measureCycle is null.

ProcessNotEvaluatedException(SerializationInfo, StreamingContext)

Initializes a new instance of the ProcessNotEvaluatedException class with serialized data.

protected ProcessNotEvaluatedException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

ArgumentNullException

The info parameter 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

message string

The 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

message string

The error message that explains the reason for the exception.

notEvaluatedProcesses IEnumerable<Process>

An enumeration of the not measured attributes.

measureCycle MeasureCycle

Type data process.

Exceptions

ArgumentNullException

Thrown when notEvaluatedProcesses or measureCycle is null.

ProcessNotEvaluatedException(string, Exception)

Initializes a new instance of the ProcessNotEvaluatedException class.

public ProcessNotEvaluatedException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The 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

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

notEvaluated IEnumerable<Process>

An enumeration of the not measured attributes.

measureCycle MeasureCycle

Type data process.

Exceptions

ArgumentNullException

Thrown when notEvaluated or measureCycle is null.

Properties

MeasureCycle

Gets the measure cycle.

public MeasureCycle MeasureCycle { get; }

Property Value

MeasureCycle

Message

Gets the localized exception message.

public override string Message { get; }

Property Value

string

NotEvaluatedProcesses

Gets the not measured processes.

public IEnumerable<Process> NotEvaluatedProcesses { get; }

Property Value

IEnumerable<Process>