AxHost::State::ISerializable::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
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.
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.
System.Security.Permissions::SecurityPermission
for executing unmanaged code. Associated enumeration: SecurityPermissionAttribute::UnmanagedCode
.NET Framework
Available since 1.1
Available since 1.1
Show: