Share via


ADServerDownException Class

The exception that is thrown when the domain server is not responding.

Inheritance Hierarchy

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

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

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class ADServerDownException _
    Inherits ADException

Dim instance As ADServerDownException
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class ADServerDownException : ADException

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, such as ServerUnavailable.

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

ADServerDownException Members

Microsoft.SharePoint.EmailIntegration Namespace