public abstract class SimpleServiceRequestBase<T> extends ServiceRequestBase<T>
Modifier | Constructor and Description |
---|---|
protected |
SimpleServiceRequestBase(ExchangeService service)
Initializes a new instance of the SimpleServiceRequestBase class.
|
Modifier and Type | Method and Description |
---|---|
AsyncRequestResult |
beginExecute(AsyncCallback callback)
Begins executing this async request.
|
protected T |
endInternalExecute(IAsyncResult asyncResult)
Ends executing this async request.
|
protected T |
internalExecute()
Executes this request.
|
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getMinimumRequiredServerVersion, getResponseStream, getResponseXmlElementName, getService, getXmlElementName, parseResponse, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validate, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeElementsToXml, writeToXml
protected SimpleServiceRequestBase(ExchangeService service) throws Exception
Exception
protected T internalExecute() throws Exception
Exception
- on errorprotected T endInternalExecute(IAsyncResult asyncResult) throws Exception
asyncResult
- The async resultException
- on errorpublic AsyncRequestResult beginExecute(AsyncCallback callback) throws Exception
callback
- The AsyncCallback delegate.Exception
- on errorCopyright © 2012–2015 Microsoft. All rights reserved.