Microsoft Identity Integration Server 2003 Developer Reference

UnexpectedDataException

The UnexpectedDataException exception is thrown by an extension when unexpected data is encountered.

The UnexpectedDataException class is derived from the ExtensionException class.

Public Constructors

The UnexpectedDataException class has the following public constructors.

Constructor Description
UnexpectedDataException

Creates an instance of the UnexpectedDataException class.

UnexpectedDataException (String)

Creates an instance of the UnexpectedDataException class with the specified error message.

Public Methods

The UnexpectedDataException class has the following public methods.

Method Description
Equals

Determines if two objects are equal.

GetBaseException

Retrieves the Exception that is the root cause of one or more subsequent exceptions.

GetHashCode

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

GetObjectData

Sets the SerializationInfo with information about the exception.

GetType

Retrieves the Type of the current object.

ToString

Retrieves a String that represents the current object.

Public Properties

The UnexpectedDataException class has the following public properties.

Property Description
HelpLink Data type: String
Access type: Read/write

Contains a link to the Help file associated with this exception.

InnerException Data type: Exception
Access type: Read-only

Contains the Exception instance that caused the current exception.

Message Data type: String
Access type: Read-only

Contains a message that describes the current exception.

Source Data type: String
Access type: Read/write

Contains or sets the name of the application or object that causes the error.

StackTrace Data type: String
Access type: Read-only

Contains a string representation of the frames on the call stack at the time the current exception was thrown.

TargetSite Data type: MethodBase
Access type: Read-only

Contains the method that throws the current exception.

Remarks

Depending on the method that throws this exception, the exception can stop a run. For more information, see the documentation for the method that threw this exception.

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

ExtensionException