Dictionary<TKey, TValue>.OnDeserialization Method (Object)

 

Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event when the deserialization is complete.

Namespace:   System.Collections.Generic
Assembly:  mscorlib (in mscorlib.dll)

public virtual void OnDeserialization(
	object sender
)

Parameters

sender
Type: System.Object

The source of the deserialization event.

Exception Condition
SerializationException

The System.Runtime.Serialization.SerializationInfo object associated with the current Dictionary<TKey, TValue> instance is invalid.

This method is an O(n) operation, where n is Count.

.NET Framework
Available since 2.0
Return to top
Show: