ScopeNotFoundException class

Represents the exception that is thrown when the scope name specified for a search query does not exist.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.Office.Server.Search.Query.SearchQueryException
      Microsoft.Office.Server.Search.Query.ScopeNotFoundException

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class ScopeNotFoundException _
    Inherits SearchQueryException
'Usage
Dim instance As ScopeNotFoundException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class ScopeNotFoundException : SearchQueryException

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

ScopeNotFoundException members

Microsoft.Office.Server.Search.Query namespace