Microsoft Identity Integration Server 2003 Developer Reference

BadServerCredentialsException

The BadServerCredentialsException class is thrown by a connected data source extension when the credentials used to connect to the connected directory are not valid.

The BadServerCredentialsException class is derived from the Microsoft.MetadirectoryServices.ExtensionException class.

Public Constructors

The BadServerCredentialsException class has the following public constructor.

Constructor Description
BadServerCredentialsException()

Creates an instance of the BadServerCredentialsException class

Public Methods

The BadServerCredentialsException class has the following public methods.

Method Description
Equals(Object)

Determines whether the specified Object is equal to the current Object.

GetBaseException()

When overridden in a derived class, returns 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(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the SerializationInfo with information about the exception.

GetType()

Gets the Type of the current instance.

ToString()

Creates and returns a string representation of the current exception.

Public Properties

The BadServerCredentialsException class has the following public properties.

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

Gets or sets a link to the help file associated with this exception.

InnerException Data type: Exception
Access type: Read-only

Gets the Exception instance that caused the current exception.

Message Data type: String
Access type: Read-only

Gets a message that describes the current exception.

Source Data type: String
Access type: Read/write

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

StackTrace Data type: String
Access type: Read-only

Gets 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

Gets the method that throws the current exception.

Protected Methods

The BadServerCredentialsException class has the following protected methods.

Method Description
Finalize()

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

MemberwiseClone()

Creates a shallow copy of the current Object.

Protected Properties

The BadServerCredentialsException class has the following protected properties.

Property Description
HResult Data type: Int32
Access type: Read/write

Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception.

Remarks

Depending on which method 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 Service Pack 1
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.