log4net SDK Reference |

# LoggingEvent Constructor (SerializationInfo, StreamingContext)

Serialization constructor

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

#### Parameters

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

#### Remarks

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

#### See Also

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