ADException class

The exception that is thrown when an Active Directory error occurs.

Inheritance hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.EmailIntegration.ADException
        Microsoft.SharePoint.EmailIntegration.ADAccessDeniedException
        Microsoft.SharePoint.EmailIntegration.ADObjectNotFoundException
        Microsoft.SharePoint.EmailIntegration.ADServerDownException

Namespace:  Microsoft.SharePoint.EmailIntegration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Class ADException _
    Inherits ApplicationException
'Usage
Dim instance As ADException
public class ADException : ApplicationException

Remarks

Use the exceptions in the Microsoft.SharePoint.EmailIntegration namespace to provide error handling to your implementation of the IEmailHelperService interface. All of the methods of that interface return a RequestStatus value, either by itself or as a member of a RequestResponse object. Consider catching exceptions and returning an appropriate RequestStatus value.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

ADException members

Microsoft.SharePoint.EmailIntegration namespace