HashSet<T>::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:  System.Core (in System.Core.dll)

public:
virtual void OnDeserialization(
	Object^ sender
)

Parameters

sender
Type: System::Object^

The source of the deserialization event.

Exception Condition
SerializationException

The SerializationInfo object associated with the current HashSet<T> object is invalid.

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

.NET Framework
Available since 3.5
Return to top
Show: