ResponseMessageResponseMessage

ResponseMessage元素提供有关请求中单个实体的响应状态的描述性信息。The ResponseMessage element provides descriptive information about the response status for a single entity within a request.

<ResponseMessage ResponseClass="">
   <MessageText/>
   <ResponseCode/>
   <DescriptiveLinkKey/>
   <MessageXml/>
</ResponseMessage>

ResponseMessageTypeResponseMessageType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

属性Attribute 说明Description
ResponseClassResponseClass
表示响应的状态。Represents the status of the response.

以下值对此属性有效:The following values are valid for this attribute:

-成功- Success
-警告- Warning
-错误- Error

ResponseClass 属性值ResponseClass attribute values

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 an item in the request was processing and subsequent items could not be processed.

以下是警告的一些可能的原因:The following are some possible causes for warnings:

-Exchange 存储在批处理过程中处于脱机状态。- The Exchange store is offline during the batch.
-Active Directory 目录服务脱机。- The Active Directory directory service is offline.
-移动邮箱。- Mailboxes are moved.
-邮件数据库(MDB)处于脱机状态。- The message database (MDB) is offline.
-密码已过期。- A password is expired.
-超出配额。- A quota is exceeded.
错误Error
介绍无法满足的请求。Describes a request that cannot be fulfilled.

以下是一些可能的错误原因:The following are some possible causes for errors:

-属性或元素无效- Invalid attributes or elements
-属性或元素越界- Attributes or elements out of range
-未知标记- Unknown tag
-Context 中的属性或元素无效- Attribute or element not valid in the context
-任何客户端的未经授权访问尝试- Unauthorized access attempt by any client
-响应有效客户端调用的服务器端故障- Server-side failure in response to a valid client-side call

有关错误的信息可以在ResponseCodeMessageText元素中找到。Information about the error can be found in the ResponseCode and MessageText elements.

子元素Child elements

元素Element 描述Description
MessageTextMessageText
提供响应状态的文本说明。Provides a text description of the status of the response.
ResponseCodeResponseCode
提供用于标识请求遇到的特定错误的错误代码。Provides an error code that identifies the specific error that the request encountered.
DescriptiveLinkKeyDescriptiveLinkKey
当前未使用,并保留以供将来使用。Currently unused and is reserved for future use. 它包含值0。It contains a value of 0.
MessageXmlMessageXml
提供其他错误响应信息。Provides additional error response information.

父元素Parent elements

元素Element 描述Description
FreeBusyResponseFreeBusyResponse
包含单个邮箱用户的忙/闲信息。Contains the free/busy information for a single mailbox user.

以下是此元素的 XPath 2.0 表达式:The following is the XPath 2.0 expression to this element:

/GetUserAvailabilityResponse/FreeBusyResponseArray[i]/FreeBusyResponse
SuggestionsResponseSuggestionsResponse
包含请求的会议建议的响应信息和建议数据。Contains response information and suggestion data for requested meeting suggestions.

以下是此元素的 XPath 2.0 表达式:The following is the XPath 2.0 expression to this element:

/GetUserAvailabilityResponse/SuggestionsResponse
GetUserOofSettingsResponseGetUserOofSettingsResponse
包含用户的响应结果和 OOF 设置。Contains the response results and the OOF settings for a user.

以下是此元素的 XPath 2.0 表达式:The following is the XPath 2.0 expression to this element:

/GetUserOofSettingsResponse
SetUserOofSettingsResponseSetUserOofSettingsResponse
包含尝试的SetUserOofSettingsRequest邮件的结果。Contains the result of an attempted SetUserOofSettingsRequest message.

以下是此元素的 XPath 2.0 表达式:The following is the XPath 2.0 expression to this element:

/SetUserOofSettingsResponse

备注Remarks

ResponseMessageType类型在所有 Exchange Web 服务响应中是通用的。The ResponseMessageType type is common to all Exchange Web Services responses. ResponseMessageType类型由以下复杂类型扩展:The ResponseMessageType type is extended by the following complex types:

  • ApplyConversationActionResponseMessageTypeApplyConversationActionResponseMessageType

  • AttachmentInfoResponseMessageTypeAttachmentInfoResponseMessageType

  • DeleteAttachmentResponseMessageTypeDeleteAttachmentResponseMessageType

  • DeleteItemResponseMessageTypeDeleteItemResponseMessageType

  • ExpandDLResponseMessageTypeExpandDLResponseMessageType

  • FindFolderResponseMessageTypeFindFolderResponseMessageType

  • FindItemResponseMessageTypeFindItemResponseMessageType

  • FolderInfoResponseMessageTypeFolderInfoResponseMessageType

  • GetEventsResponseMessageTypeGetEventsResponseMessageType

  • ItemInfoResponseMessageTypeItemInfoResponseMessageType

  • ResolveNamesResponseMessageTypeResolveNamesResponseMessageType

  • SubscribeResponseMessageTypeSubscribeResponseMessageType

  • SendNotificationResponseMessageTypeSendNotificationResponseMessageType

  • SyncFolderHierarchyResponseMessageTypeSyncFolderHierarchyResponseMessageType

  • SyncFolderItemsResponseMessageTypeSyncFolderItemsResponseMessageType

描述此元素的架构位于正在运行 Microsoft Exchange Server 2007 的计算机(已安装客户端访问服务器角色)的 EWS 虚拟目录中。The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

版本差异Version differences

ApplyConversationActionResponseMessageDeleteItemResponseMessageType类型是在 Exchange build 15.00.0986.00 中引入的。The ApplyConversationActionResponseMessage and DeleteItemResponseMessageType types were introduced in Exchange build 15.00.0986.00.

元素信息Element information

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/messages
架构名称Schema Name
消息架构Messages schema
验证文件Validation File
Messages.xsdMessages.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also