public final class ApplyConversationActionRequest extends MultiResponseServiceRequest<ServiceResponse>
Constructor and Description |
---|
ApplyConversationActionRequest(ExchangeService service,
ServiceErrorHandling errorHandlingMode)
Initializes a new instance of the ApplyConversationActionRequest class
|
Modifier and Type | Method and Description |
---|---|
protected ServiceResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
List<ConversationAction> |
getConversationActions() |
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
protected void |
validate()
Validate request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
endExecute, execute, getErrorHandlingMode, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public ApplyConversationActionRequest(ExchangeService service, ServiceErrorHandling errorHandlingMode) throws Exception
service
- The serviceerrorHandlingMode
- Indicates how errors should be handledException
- on errorpublic List<ConversationAction> getConversationActions()
protected ServiceResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<ServiceResponse>
service
- The service.responseIndex
- Index of the response.protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<ServiceResponse>
protected void validate() throws Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
Exception
- on validation errorprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
writer
- The writer.Exception
- on validation errorpublic String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<ServiceResponse>
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
Copyright © 2012–2015 Microsoft. All rights reserved.