public final class ExecuteDiagnosticMethodRequest extends MultiResponseServiceRequest<ExecuteDiagnosticMethodResponse>
Constructor and Description |
---|
ExecuteDiagnosticMethodRequest(ExchangeService service)
Initializes a new instance of the ExecuteDiagnosticMethodRequest class.
|
Modifier and Type | Method and Description |
---|---|
protected ExecuteDiagnosticMethodResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected Node |
getParameter()
Gets the parameter to the executing method.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
protected String |
getVerb()
Gets the verb of the method to execute.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setParameter(Node value)
Sets the parameter to the executing method.
|
void |
setVerb(String value)
Sets the verb of the method to execute.
|
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, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public ExecuteDiagnosticMethodRequest(ExchangeService service) throws Exception
Exception
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ExecuteDiagnosticMethodResponse>>
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, XMLStreamException
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<ExecuteDiagnosticMethodResponse>>
writer
- The writerXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ExecuteDiagnosticMethodResponse>>
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<ExecuteDiagnosticMethodResponse>>
protected Node getParameter()
public void setParameter(Node value)
protected ExecuteDiagnosticMethodResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<ExecuteDiagnosticMethodResponse>
service
- The serviceresponseIndex
- Index of the responseprotected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<ExecuteDiagnosticMethodResponse>
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<ExecuteDiagnosticMethodResponse>
Copyright © 2012–2015 Microsoft. All rights reserved.