ConvergenceException Constructor

Definition

Namespace: Numerics.NET.Algorithms
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

ConvergenceException

Constructs a new ConvergenceException.
C#
public ConvergenceException()

ConvergenceException(String)

Constructs a new ConvergenceException.
C#
public ConvergenceException(
	string message
)

Parameters

message  String
The error message that explains the reason for the exception.

ConvergenceException(SerializationInfo, StreamingContext)

Note: This API is now obsolete.
Initializes a new instance of the ConvergenceException class with serialized data.
C#
[ObsoleteAttribute(DiagnosticId = "SYSLIB0051")]
protected ConvergenceException(
	SerializationInfo serializationInfo,
	StreamingContext streamingContext
)

Parameters

serializationInfo  SerializationInfo
The object that holds the serialized object data.
streamingContext  StreamingContext
The contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

ConvergenceException(String, Exception)

Constructs a new ConvergenceException.
C#
public ConvergenceException(
	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. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

See Also