共用方式為


SP.ClientErrorCodes Fields

Applies to: SharePoint Foundation 2010

The following table lists the fields of the SP.ClientErrorCodes class.

Fields

Name

Description

accessDenied

A constant integer that represents an "Access Denied" error.

docAlreadyExists

A constant integer that indicates that the document already exists.

genericError

A constant integer that represents a generic error.

invalidFieldValue

A constant integer that indicates that the field value is invalid.

listItemDeleted

A constant integer that indicates that the list item has been deleted.

notSupported

A constant integer that indicates that the client API has been blocked by the server administrator and that the request is not supported.

notSupportedRequestVersion

A constant integer that indicates that the schema version in the SchemaVersion attribute of the SP.ClientSchemaVersions.currentVersion Field method is not supported by Microsoft SharePoint Foundation 2010.

redirect

A constant integer that indicates that the server should redirect the request to another URL.

versionConflict

A constant integer that is raised when the client object version does not match the server object version.

Applies To

SP.ClientErrorCodes Class

See Also

Reference

SP.ClientErrorCodes Methods

SP Namespace