Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XmlException.GetObjectData Method

.NET Framework 4.6 and 4.5

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetObjectData(SerializationInfo, StreamingContext) When overridden in a derived class, sets the SerializationInfo with information about the exception. (Inherited from Exception.)
Public method GetObjectData(SerializationInfo, StreamingContext) Streams all the XmlException properties into the SerializationInfo class for the given StreamingContext. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Top
Show:
© 2015 Microsoft