log4net SDK Reference

LogException Constructor (SerializationInfo, StreamingContext)

Serialization constructor

[Visual Basic]
Overloads Protected Sub New( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
[C#]
protected LogException(
   SerializationInfo info,
   StreamingContext context
);

Parameters

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

Remarks

Initializes a new instance of the LogException class with serialized data.

See Also

LogException Class | log4net.Core Namespace | LogException Constructor Overload List