Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

InvalidDataException Members

The exception that is thrown when a data stream is in an invalid format.

The following tables list the members exposed by the InvalidDataException type.

  Name Description
Public method InvalidDataException Overloaded. Initializes a new instance of the InvalidDataException class.
Top
(see also Protected Properties )
  Name Description
Public property Data  Gets a collection of key/value pairs that provide additional user-defined information about the exception.(inherited from Exception)
Public property HelpLink  Gets or sets a link to the help file associated with this exception.(inherited from Exception)
Public property InnerException  Gets the Exception instance that caused the current exception.(inherited from Exception)
Public property Message  Gets a message that describes the current exception.(inherited from Exception)
Public property Source  Gets or sets the name of the application or the object that causes the error.(inherited from Exception)
Public property StackTrace  Gets a string representation of the frames on the call stack at the time the current exception was thrown.(inherited from Exception)
Public property TargetSite  Gets the method that throws the current exception.(inherited from Exception)
Top
  Name Description
Protected property HResult  Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.(inherited from Exception)
Top
(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetBaseException  When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (inherited from Exception)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetObjectData  When overridden in a derived class, sets the SerializationInfo with information about the exception. (inherited from Exception)
Public method GetType  Gets the runtime type of the current instance. (inherited from Exception)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Creates and returns a string representation of the current exception. (inherited from Exception)
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.