Export (0) Print
Expand All

AudienceWrongAccountNameFormatException class

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

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.Office.Server.Audience.AudienceException
        Microsoft.Office.Server.Audience.AudienceWrongAccountNameFormatException

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceWrongAccountNameFormatException : AudienceException

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.

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

Community Additions

ADD
Show:
© 2014 Microsoft