Initializes a new instance of the Exception class with serialized data.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
protected PlException( SerializationInfo info, StreamingContext context )
Protected Sub New ( info As SerializationInfo, context As StreamingContext )
protected: PlException( SerializationInfo^ info, StreamingContext context )
new : info : SerializationInfo * context : StreamingContext -> PlException
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
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.60601.0 (1.1.60601.0)