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