TooManySearchTermException Class

Represents the exception that is thrown when the number of search patterns passed as parameters to the Search or SearchAudiences method in ProfileSearchManager exceeds 10.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.UserProfiles.UserProfileException
      Microsoft.Office.Server.UserProfiles.TooManySearchTermException

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class TooManySearchTermException _
    Inherits UserProfileException
'Usage
Dim instance As TooManySearchTermException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class TooManySearchTermException : UserProfileException

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.

See Also

Reference

TooManySearchTermException Members

Microsoft.Office.Server.UserProfiles Namespace