Insufficient Data Exception Constructor
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Insufficient | Constructs a new InsufficientDataException object. |
Insufficient | Constructs a new InsufficientDataException object. |
Insufficient | Constructs a new InsufficientDataException object. |
Insufficient |
Constructs a new InsufficientDataException object.
Obsolete. |
Insufficient | Constructs a new InsufficientDataException object. |
Insufficient | Constructs a new InsufficientDataException object. |
Insufficient | Constructs a new InsufficientDataException object. |
InsufficientDataException
Constructs a new InsufficientDataException object.
public InsufficientDataException()
InsufficientDataException(String)
Constructs a new InsufficientDataException object.
public InsufficientDataException(
string message
)
Parameters
- message String
- The error message that explains the reason for the exception.
InsufficientDataException(Int32, Int32)
Constructs a new InsufficientDataException object.
public InsufficientDataException(
int minimumDataLength,
int actualDataLength
)
Parameters
InsufficientDataException(SerializationInfo, StreamingContext)
Constructs a new InsufficientDataException object.
[ObsoleteAttribute(DiagnosticId = "SYSLIB0051")]
protected InsufficientDataException(
SerializationInfo info,
StreamingContext context
)
Parameters
- info SerializationInfo
- The object that holds the serialized object data.
- context 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.
InsufficientDataException(String, Exception)
Constructs a new InsufficientDataException object.
public InsufficientDataException(
string message,
Exception innerException
)
Parameters
InsufficientDataException(String, Int32, Int32)
Constructs a new InsufficientDataException object.
public InsufficientDataException(
string message,
int minimumDataLength,
int actualDataLength
)
Parameters
InsufficientDataException(String, Exception, Int32, Int32)
Constructs a new InsufficientDataException object.
public InsufficientDataException(
string message,
Exception innerException,
int minimumDataLength,
int actualDataLength
)
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 null, the current exception is raised in a catch block that handles the inner exception.
- minimumDataLength Int32
- The minimum number of data points required to perform the requested calculation.
- actualDataLength Int32
- The actual number of data points that was supplied.