public class CreateUserConfigurationRequest extends MultiResponseServiceRequest<ServiceResponse>
Modifier and Type | Field and Description |
---|---|
protected UserConfiguration |
userConfiguration
The user configuration.
|
Constructor and Description |
---|
CreateUserConfigurationRequest(ExchangeService service)
Initializes a new instance of the
|
Modifier and Type | Method and Description |
---|---|
protected ServiceResponse |
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 String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
UserConfiguration |
getUserConfiguration()
Gets the user configuration.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setUserConfiguration(UserConfiguration value)
Sets the user configuration.
|
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
protected UserConfiguration userConfiguration
public CreateUserConfigurationRequest(ExchangeService service) throws Exception
service
- The service.Exception
protected void validate() throws Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
Exception
- the exceptionprotected ServiceResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<ServiceResponse>
service
- The service.responseIndex
- Index of the response.protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
protected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<ServiceResponse>
public 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 void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<ServiceResponse>>
writer
- the writerException
- the exceptionpublic UserConfiguration getUserConfiguration()
public void setUserConfiguration(UserConfiguration value)
value
- the new user configurationCopyright © 2012–2015 Microsoft. All rights reserved.