public class RemoveDelegateRequest extends SimpleServiceRequestBase<TResponse>
Constructor and Description |
---|
RemoveDelegateRequest(ExchangeService service)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected DelegateManagementResponse |
createResponse()
Creates the response.
|
TResponse |
execute()
Executes this request.
|
Mailbox |
getMailbox()
Gets the mailbox.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
List<UserId> |
getUserIds()
Gets the user ids.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
protected TResponse |
parseResponse(EwsServiceXmlReader reader)
Parses the response.
|
void |
setMailbox(Mailbox mailbox)
Sets the mailbox.
|
protected void |
validate()
Asserts the valid.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Asserts the valid.
|
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public RemoveDelegateRequest(ExchangeService service) throws Exception
service
- the serviceException
protected void validate() throws Exception
Exception
- the exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writer
- the writerException
- the exceptionprotected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<DelegateManagementResponse>
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<DelegateManagementResponse>
protected DelegateManagementResponse createResponse()
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<DelegateManagementResponse>
public List<UserId> getUserIds()
protected TResponse parseResponse(EwsServiceXmlReader reader) throws Exception
parseResponse
in class ServiceRequestBase<TResponse extends DelegateManagementResponse>
reader
- The reader.Exception
- the exceptionpublic TResponse execute() throws Exception
Exception
- the exceptionpublic Mailbox getMailbox()
public void setMailbox(Mailbox mailbox)
mailbox
- the new mailboxCopyright © 2012–2015 Microsoft. All rights reserved.