編輯

共用方式為


CSIndexErrorCode Enum

Definition

Enumerates possible errors associated with using Core Spotlight and searching.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, 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 CSIndexErrorCode
type CSIndexErrorCode = 
Inheritance
CSIndexErrorCode
Attributes

Fields

Name Value Description
IndexingUnsupported -1005

The device does not support indexing.

QuotaExceeded -1004

The quota was exceeded.

RemoteConnectionError -1003

A remote connection failed.

InvalidClientStateError -1002

The search client was in an invalid state.

InvalidItemError -1001

The search item was invalid.

IndexUnavailableError -1000

The index was not available.

UnknownError -1

An unknown error occured.

Applies to