ComponentReadOnlyException Constructor

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

ComponentReadOnlyException

Constructs a new ComponentReadOnlyException.
C#
public ComponentReadOnlyException()

ComponentReadOnlyException(String)

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

Parameters

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

ComponentReadOnlyException(SerializationInfo, StreamingContext)

Note: This API is now obsolete.
Initializes a new instance of the ComponentReadOnlyException class with serialized data.
C#
[ObsoleteAttribute(DiagnosticId = "SYSLIB0051")]
protected ComponentReadOnlyException(
	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.

ComponentReadOnlyException(String, Exception)

Constructs a new ComponentReadOnlyException.
C#
public ComponentReadOnlyException(
	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