Share via


AudienceConnectionException Class

The AudienceConnectionException class represents the exception thrown when an error occurs when connecting to the database.

System.Object

    System.Exception

       System.ApplicationException

         Microsoft.SharePoint.Portal.Audience.AudienceException

            Microsoft.SharePoint.Portal.Audience.AudienceConnectionException

Public Constructors

The following table shows the AudienceConnectionException class constructors and provides a brief description of each.

Name Description
AudienceConnectionException (string) Initializes a new instance of the AudienceConnectionException class with the specified message.
AudienceConnectionException (string, System.Exception) Initializes a new instance of the AudienceConnectionException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Thread Safety

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

Requirements

Namespace: Microsoft.SharePoint.Portal.Audience

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security

AudienceException Class