AxHost::State::ISerializable::GetObjectData Method (SerializationInfo^, StreamingContext)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Populates a SerializationInfo with the data needed to serialize the target object.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
virtual void GetObjectData(
	SerializationInfo^ si,
	StreamingContext context
) sealed = ISerializable::GetObjectData

Parameters

si
Type: System.Runtime.Serialization::SerializationInfo^

The SerializationInfo to populate with data.

context
Type: System.Runtime.Serialization::StreamingContext

The destination for this serialization.

Exception Condition
SecurityException

The caller does not have the required permission.

For more information about the context parameter, see the StreamingContext class.

.NET Framework
Available since 1.1
Return to top
Show: