Class InferRuntimeException
The exception that is thrown in the case of an issue encountered by the Infer.NET Runtime.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Serializable]
public class InferRuntimeException : Exception, ISerializable
Constructors
InferRuntimeException()
Initializes a new instance of the InferRuntimeException class.
Declaration
public InferRuntimeException()
InferRuntimeException(SerializationInfo, StreamingContext)
Initializes a new instance of the InferRuntimeException class.
Declaration
protected InferRuntimeException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The object that holds the serialized object data. |
StreamingContext | context | The contextual information about the source or destination. |
InferRuntimeException(String)
Initializes a new instance of the InferRuntimeException class with a specified error message.
Declaration
public InferRuntimeException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
InferRuntimeException(String, Exception)
Initializes a new instance of the InferRuntimeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public InferRuntimeException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Exception | inner | The exception that is the cause of the current exception. |