Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
PlLibException Constructor (info, context)
SwiPlCs interface ► SbsSW.SwiPlCs.Exceptions ► PlLibException ► PlLibException(SerializationInfo, StreamingContext)
Initializes a new instance of the Exception class with serialized data.

C# | Visual Basic | Visual C++ |
protected PlLibException( SerializationInfo info, StreamingContext context )
Protected Sub New ( _ info As SerializationInfo, _ context As StreamingContext _ )
protected: PlLibException( SerializationInfo^ info, StreamingContext context )

- info (SerializationInfo)
- The SerializationInfo that holds the serialized object data about the exception being thrown.
- context (StreamingContext)
- The StreamingContext that contains contextual information about the source or destination.

Exception | Condition |
---|---|
ArgumentNullException |
The info parameter is null.
|
SerializationException |
The class name is null or HResult is zero (0).
|