Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Hashtable::OnDeserialization Method (Object^)

 

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

Namespace:   System.Collections
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 Hashtable is invalid.

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

Because serializing and deserializing an enumerator for a Hashtable can cause the elements to become reordered, it is not possible to continue enumeration without calling the Reset method.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft