AudienceExecutionException AudienceExecutionException AudienceExecutionException Class

Definition

Represents the exception thrown when an error occurs when executing an audience operation, such as creating, removing, or updating an audience.

public ref class AudienceExecutionException : Microsoft::Office::Server::Audience::AudienceException
public class AudienceExecutionException : Microsoft.Office.Server.Audience.AudienceException
Public Class AudienceExecutionException
Inherits AudienceException
Inheritance
AudienceExecutionExceptionAudienceExecutionExceptionAudienceExecutionException

Remarks

Thrown by members of the Audience, AudienceCollection, and AudienceSiteCollection classes if errors are encountered when accessing the database, such as when creating and deleting audiences. When a database error causes the error, the message string contains an error code from Microsoft SQL Server.

Constructors

AudienceExecutionException(String) AudienceExecutionException(String) AudienceExecutionException(String)

Initializes a new instance of the AudienceExecutionException class with the specified error message.

AudienceExecutionException(String, Exception) AudienceExecutionException(String, Exception) AudienceExecutionException(String, Exception)

Initializes a new instance of the AudienceExecutionException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Applies to