public class ExpandGroupRequest extends MultiResponseServiceRequest<ExpandGroupResponse>
Constructor and Description |
---|
ExpandGroupRequest(ExchangeService service)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected ExpandGroupResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates the service response.
|
EmailAddress |
getEmailAddress()
Gets the email address.
|
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.
|
void |
setEmailAddress(EmailAddress emailAddress)
Sets the email address.
|
protected void |
validate()
Represents an ExpandGroup 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 ExpandGroupRequest(ExchangeService service) throws Exception
service
- the serviceException
- on errorprotected void validate() throws Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<ExpandGroupResponse>>
Exception
- the exceptionprotected ExpandGroupResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<ExpandGroupResponse>
service
- the serviceresponseIndex
- the response indexprotected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<ExpandGroupResponse>
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ExpandGroupResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<ExpandGroupResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<ExpandGroupResponse>
protected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<ExpandGroupResponse>>
writer
- the writerException
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<ExpandGroupResponse>>
public EmailAddress getEmailAddress()
public void setEmailAddress(EmailAddress emailAddress)
emailAddress
- the new email addressCopyright © 2012–2015 Microsoft. All rights reserved.