編輯

共用方式為


SyncFolderItemsResponseMessage

The SyncFolderItemsResponseMessage element contains the status and result of a single SyncFolderItems operation request.

<SyncFolderItemsResponseMessage ResponseClass="">
   <MessageText/>
   <ResponseCode/>
   <DescriptiveLinkKey/>
   <MessageXml/>
   <SyncState/>
   <IncludesLastItemInRange/>
   <Changes/>
</SyncFolderItemsResponseMessage>

SyncFolderItemsResponseMessageType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
ResponseClass
Describes the status of a SyncFolderItems operation response.

The following values are valid for this attribute:

- Success
- Warning
- Error

ResponseClass Attribute

Value Description
Success
Describes a request that is fulfilled.
Warning
Describes a request that was not processed. A warning may be returned if an error occurred while processing an item in the request and subsequent items cannot be processed.

The following are examples of sources of warnings:

- The Exchange store is offline during the batch.
- Active Directory Domain Services (AD DS) is offline.
- Mailboxes were moved.
- The message database (MDB) is offline.
- A password has expired.
- A quota was exceeded.
Error
Describes a request that cannot be fulfilled.

The following are examples of sources of errors:

- Invalid attributes or elements
- Attributes or elements that are out of range
- An unknown tag
- An attribute or element that is not valid in the context
- Any unauthorized access attempt by any client
- Any server-side failure in response to a valid client-side call

Information about the error can be found in the ResponseCode and MessageText elements.

Child elements

Element Description
MessageText
Provides a text description of the status of the response.
ResponseCode
Provides an error code that identifies the specific error that the request encountered.
DescriptiveLinkKey
Currently unused and is reserved for future use. It contains the value of 0.
MessageXml
Provides additional error response information.
SyncState
Contains a base64-encoded form of the synchronization data that is updated after each successful request. This is used to identify the synchronization state.
IncludesLastItemInRange
Indicates whether the last item to synchronize has been included in the response.
Changes (Items)
Contains a sequence array of change types that represent the types of differences between the items on the client and the items on the Exchange server.

Parent elements

Element Description
ResponseMessages
Contains the response messages for an Exchange Web Services request.

Remarks

The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

Element information

Name Value
Namespace
http://schemas.microsoft.com/exchange/services/2006/messages
Schema Name
Messages schema
Validation File
Messages.xsd
Can be Empty
False

See also