ConversionNotSupportedException Constructor (SerializationInfo, StreamingContext) | Apache log4net™ SDK Documentation

Serialization constructor

Namespace: log4net.Util.TypeConverters
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    protected ConversionNotSupportedException(
    	SerializationInfo info,
    	StreamingContext context
    )

    Protected Sub New (
    	info As SerializationInfo,
    	context As StreamingContext
    )

    protected:
    ConversionNotSupportedException(
    	SerializationInfo^ info,
    	StreamingContext context
    )

    new :
            info : SerializationInfo *
            context : StreamingContext -> ConversionNotSupportedException

#### Parameters

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

Remarks

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

See Also

#### Reference

ConversionNotSupportedException Class
ConversionNotSupportedException Overload
log4net.Util.TypeConverters Namespace