![Copy image Copy image](icons/copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
PlTypeException Constructor (info, context)
SwiPlCs interface ► SbsSW.SwiPlCs.Exceptions ► PlTypeException ► PlTypeException(SerializationInfo, StreamingContext)
Initializes a new instance of the Exception class with serialized data.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
protected PlTypeException( SerializationInfo info, StreamingContext context )
Protected Sub New ( info As SerializationInfo, context As StreamingContext )
protected: PlTypeException( SerializationInfo^ info, StreamingContext context )
new : info : SerializationInfo * context : StreamingContext -> PlTypeException
![](collapse_all.gif)
- 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.
![](collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | The info parameter is null. |
SerializationException | The class name is null or HResult is zero (0). |
Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60605.0 (1.1.60605.0)