次の方法で共有


2.2.3.177.3 Status (FolderCreate)

The Status element is a required child element of the FolderCreate element in FolderCreate command responses that indicates the success or failure of a FolderCreate command request (section 2.2.1.3). If the command failed, the Status element contains a code indicating the type of failure.

All elements referenced in this section are defined in the FolderHierarchy namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

FolderCreate command response

FolderCreate (section 2.2.3.72)

None

integer ([MS-ASDTYPE] section 2.6)

1…1 (required)

The following table lists the status codes for the FolderCreate command (section 2.2.1.3). For information about the scope of the status value and for status values common to all ActiveSync commands, see section 2.2.2.

Value

Meaning

Cause

Scope

Resolution

1

Success.

Server successfully completed command.

Global

None.

2

A folder that has this name already exists.

The parent folder already contains a folder that has this name.

Item

Prompt user to supply a unique name.

3

The specified parent folder is a special system folder.

The specified parent folder is the Recipient information folder.

Item

Create the folder under a different parent.

5

The specified parent folder was not found.

The parent folder does not exist on the server, possibly because it has been deleted or renamed.

Item

Issue a FolderSync command (section 2.2.1.5) for the new hierarchy and prompt the user for a new parent folder.

6

An error occurred on the server.

Server misconfiguration, temporary system issue, or bad item. This is frequently a transient condition.

Global

Retry the FolderSync command. If continued attempts to synchronization fail, consider returning to synchronization key zero (0).

9

Synchronization key mismatch or invalid synchronization key.

The client sent a malformed or mismatched synchronization key, or the synchronization state is corrupted on the server.

Global

Delete folders added since last synchronization and return to synchronization key to zero (0).

10

Malformed request.

The client sent a FolderCreate command request (section 2.2.1.3) that contains a semantic error, or the client attempted to create a default folder, such as the Inbox folder, Outbox folder, or Contacts folder.

Global

Double-check the request for accuracy.

11

An unknown error occurred.

Unknown.

Global.

None.

12

Code unknown.

Unusual back-end issue.

Global

None.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

Yes

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes