InvalidContentException

class InvalidContentException : System.Exception, System.Runtime.Serialization.ISerializable, System.Runtime.InteropServices._Exception

Thrown when errors are encountered in content during processing.

ContentIdentity ContentIdentity

Gets or sets the identity of the content item that caused the exception.

public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)

When overridden in a derived class, returns information about the exception. In addition to the base behavior, this method provides serialization functionality.

Parameters:
  • info (System.Runtime.Serialization.SerializationInfo) – Information necessary for serialization and deserialization of the content item.
  • context (System.Runtime.Serialization.StreamingContext) – Information necessary for the source and destination of a given serialized stream. Also provides an additional caller-defined context.