Export (0) Print
Expand All

AudienceDuplicateNameException class

Represents the exception thrown when a user tries to create or rename an audience to a name that already exists in the database.

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

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

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

Thrown by the AudienceCollection object when it tries to create an audience by a name that already exists in the database, or when trying to rename an audience to a name that is already in use.

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