Microsoft Identity Integration Server 2003 Developer Reference

AccessDeniedException

The AccessDeniedException class is thrown when the password extension fails to set the password in the connected directory.

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

Public Constructors

The AccessDeniedException class has the following public constructor.

Constructor Description
AccessDeniedException()

Creates an instance of the AccessDeniedException class.

Public Methods

The AccessDeniedException 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 AccessDeniedException 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 AccessDeniedException 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 AccessDeniedException 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.

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.