[]
Populates a SerializationInfo with the data needed to serialize the target object.
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Public Overridable Sub GetObjectData(info As SerializationInfo, context As StreamingContext)
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | The SerializationInfo to populate with data |
| StreamingContext | context | The destination (see StreamingContext) for this serialization |
| Type | Condition |
|---|---|
| SecurityException | The caller does not have the required permission. |