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