Click or drag to resize

AdvancedLevelsCommand.GetObjectData Method

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

Namespace:  Atalasoft.Imaging.ImageProcessing.Effects
Assembly:  Atalasoft.dotImage.AdvancedPhotoEffects (in Atalasoft.dotImage.AdvancedPhotoEffects.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo to populate with data.
context
Type: System.Runtime.Serialization.StreamingContext
The destination (see StreamingContext) for this serialization.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Exceptions
ExceptionCondition
Thrown if the info argument is null (Nothing in VB).
SecurityExceptionThe caller does not have the required permission.
Remarks

Any objects that are included in the SerializationInfo are automatically tracked and serialized by the formatter.

Code that calls GetObjectData requires the SecurityPermission for providing serialization services. Associated enumeration: SecurityPermissionFlag.SerializationFormatter.

See Also