Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
GetObjectData Method (info, context)
SwiPlCs interfaceSbsSW.SwiPlCs.ExceptionsPlLibExceptionGetObjectData(SerializationInfo, StreamingContext)
When overridden in a derived class, sets the SerializationInfo with information about the exception.
Declaration Syntax
C#Visual BasicVisual C++F#
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)
Public Overrides Sub GetObjectData ( 
	info As SerializationInfo,
	context As StreamingContext
)
public:
virtual void GetObjectData(
	SerializationInfo^ info, 
	StreamingContext context
) override
abstract GetObjectData : 
        info : SerializationInfo * 
        context : StreamingContext -> unit 
override GetObjectData : 
        info : SerializationInfo * 
        context : StreamingContext -> unit 
Parameters
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.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe info parameter is a null reference (Nothing in Visual Basic).
SecurityExceptionThe caller does not have the required permission.

Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)