Mensaje (disponibilidad)Message (Availability)
El elemento Message contiene la respuesta de fuera de la oficina (OOF).The Message element contains the out of Office (OOF) response.
<Message/>
stringstring
Atributos y elementosAttributes and elements
En las siguientes secciones se describen los atributos, elementos secundarios y elementos primarios.The following sections describe attributes, child elements, and parent elements.
AtributosAttributes
Ninguna.None.
Elementos secundariosChild elements
Ninguna.None.
Elementos principalesParent elements
ElementoElement | DescripciónDescription |
---|---|
InternalReplyInternalReply |
Contiene el mensaje OOF enviado a otros usuarios en el dominio del remitente.Contains the OOF message sent to other users in the sender's domain. Las siguientes son las posibles expresiones de XPath a este elemento:The following are the possible XPath expressions to this element: /SetUserOofSettingsRequest/UserOofSettings/InternalReply /GetUserOofSettingsResponse/OofSettings/InternalReply |
ExternalReplyExternalReply |
Contiene el mensaje OOF que se envía a las direcciones fuera del dominio del remitente.Contains the OOF message that is sent to addresses outside the sender's domain. Las siguientes son las posibles expresiones de XPath a este elemento:The following are the possible XPath expressions to this element: /SetUserOofSettingsRequest/UserOofSettings/ExternalReply /GetUserOofSettingsResponse/OofSettings/ExternalReply |
ReplyBodyReplyBody |
Contiene un mensaje OOF y el idioma que se usa para el mensaje.Contains an OOF message and the language used for the message. |
Valor de textoText value
Se necesita un valor de texto para establecer el mensaje OOF.A text value is required to set the OOF message.
ComentariosRemarks
El esquema que describe este elemento se encuentra en el directorio virtual IIS que hospeda los servicios Web Exchange.The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.
EjemploExample
En el siguiente ejemplo de una solicitud de operación de SetUserOofSettings se establece el OofState en habilitado, se establece la duración de OOF en 10 días y se establecen los mensajes OOF internos y externos.The following example of a SetUserOofSettings operation request sets the OofState to Enabled, sets the duration of OOF to 10 days, and sets the internal and external OOF messages.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SetUserOofSettingsRequest xmlns="https://schemas.microsoft.com/exchange/services/2006/messages">
<Mailbox xmlns="https://schemas.microsoft.com/exchange/services/2006/types">
<Name>David Alexander</Name>
<Address>someone@example.com</Address>
<RoutingType>SMTP</RoutingType>
</Mailbox>
<UserOofSettings xmlns="https://schemas.microsoft.com/exchange/services/2006/types">
<OofState>Enabled</OofState>
<ExternalAudience>All</ExternalAudience>
<Duration>
<StartTime>2005-10-05T00:00:00</StartTime>
<EndTime>2005-10-25T00:00:00</EndTime>
</Duration>
<InternalReply>
<Message>I am out of office. This is my internal reply.</Message>
</InternalReply>
<ExternalReply>
<Message>I am out of office. This is my external reply.</Message>
</ExternalReply>
</UserOofSettings>
</SetUserOofSettingsRequest>
</soap:Body>
</soap:Envelope>
Información del elementoElement information
NamespaceNamespace |
https://schemas.microsoft.com/exchange/services/2006/types |
Nombre de esquemaSchema Name |
Esquema de tiposTypes schema |
Archivo de validaciónValidation File |
Types. xsdTypes.xsd |
Puede estar vacíoCan be Empty |
FalsoFalse |