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

Deserialization constructor

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

C#
VB
C++
F#
Copy

    protected ReadOnlyPropertiesDictionary(
    	SerializationInfo info,
    	StreamingContext context
    )

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

    protected:
    ReadOnlyPropertiesDictionary(
    	SerializationInfo^ info,
    	StreamingContext context
    )

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

#### Parameters

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

Remarks

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

See Also

#### Reference

ReadOnlyPropertiesDictionary Class
ReadOnlyPropertiesDictionary Overload
log4net.Util Namespace