AudienceNameDescriptionLengthException Class
Represents an exception thrown when the length of the audience name exceeds 50 characters or if the description exceeds 254 characters.
Inheritance Hierarchy
System.Object
System.Exception
System.ApplicationException
Microsoft.Office.Server.Audience.AudienceException
Microsoft.Office.Server.Audience.AudienceNameDescriptionLengthException
Namespace: Microsoft.Office.Server.Audience
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class AudienceNameDescriptionLengthException _
Inherits AudienceException
'Usage
Dim instance As AudienceNameDescriptionLengthException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceNameDescriptionLengthException : AudienceException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.