CSSearchQueryErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates errors that can occur while running a Core Spotlight query with Start().
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CSSearchQueryErrorCode
type CSSearchQueryErrorCode =
- Inheritance
-
CSSearchQueryErrorCode
- Attributes
Fields
Name | Value | Description |
---|---|---|
Cancelled | -2003 | Indicates that the search was canceled. |
InvalidQuery | -2002 | Indicates that the query was invalid. |
IndexUnreachable | -2001 | Indicates that the search index could not be reached. |
Unknown | -2000 | Indicates that an unknown error ocurred. |
Remarks
Developers can use the GetDomain(CSSearchQueryErrorCode) extension method to get the error domain.