InvalidContentException.GetObjectData Method
When overridden in a derived class, returns information about the exception.
In addition to the base behavior, this method provides serialization functionality.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public override void GetObjectData (
SerializationInfo info,
StreamingContext context
)
Parameters
- info
Information necessary for serialization and deserialization of the content item. - context
Information necessary for the source and destination of a given serialized stream. Also provides an additional caller-defined context.
See Also
Reference
InvalidContentException Class
InvalidContentException Members
Microsoft.Xna.Framework.Content.Pipeline Namespace
Platforms
Windows XP SP2, Windows Vista