AudienceWrongAccountNameFormatException AudienceWrongAccountNameFormatException AudienceWrongAccountNameFormatException Class

Definition

Represents the exception that is thrown when the wrong account name format is encountered in an audience rule.

public ref class AudienceWrongAccountNameFormatException : Microsoft::Office::Server::Audience::AudienceException
public class AudienceWrongAccountNameFormatException : Microsoft.Office.Server.Audience.AudienceException
Public Class AudienceWrongAccountNameFormatException
Inherits AudienceException
Inheritance
AudienceWrongAccountNameFormatExceptionAudienceWrongAccountNameFormatExceptionAudienceWrongAccountNameFormatException

Remarks

Thrown by the AudienceRuleComponent class when the format of the account name is incorrect. Account names may use either the Microsoft Windows user account format or a principle name format. If an audience rule uses one format in its operand, the value for that rule must use the same format.

Constructors

AudienceWrongAccountNameFormatException(String) AudienceWrongAccountNameFormatException(String) AudienceWrongAccountNameFormatException(String)

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

AudienceWrongAccountNameFormatException(String, Exception) AudienceWrongAccountNameFormatException(String, Exception) AudienceWrongAccountNameFormatException(String, Exception)

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

Applies to