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.

NameObjectCollectionBase::OnDeserialization Method (Object^)

 

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

Namespace:   System.Collections.Specialized
Assembly:  System (in System.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 NameObjectCollectionBase instance is invalid.

While the OnDeserialization method is not visible to COM clients by default, inheriting the NameObjectCollectionBase class can expose it and can cause undesirable behavior in COM clients.

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

.NET Framework
Available since 1.1
Return to top
Show: