Click or drag to resize
NLogRuntimeException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the NLogRuntimeException class.

Namespace: NLog
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
protected NLogRuntimeException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.SerializationSerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.SerializationStreamingContext
The StreamingContext that contains contextual information about the source or destination.
Exceptions
ExceptionCondition
ArgumentNullException The info parameter is null.
SerializationException The class name is null or HResult is zero (0).
See Also