public final class GetItemResponse extends ServiceResponse implements IGetObjectInstanceDelegate<ServiceObject>
Constructor and Description |
---|
GetItemResponse(Item item,
PropertySet propertySet)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
Item |
getItem()
Gets the item that was retrieved.
|
ServiceObject |
getObjectInstanceDelegate(ExchangeService service,
String xmlElementName)
Gets the object instance delegate.
|
protected void |
readElementsFromXml(EwsServiceXmlReader reader)
Reads response elements from XML.
|
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loaded, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary
public GetItemResponse(Item item, PropertySet propertySet)
item
- the itempropertySet
- the property setprotected void readElementsFromXml(EwsServiceXmlReader reader) throws InstantiationException, IllegalAccessException, Exception
readElementsFromXml
in class ServiceResponse
reader
- the readerInstantiationException
- the instantiation exceptionIllegalAccessException
- the illegal access exceptionException
- the exceptionpublic ServiceObject getObjectInstanceDelegate(ExchangeService service, String xmlElementName) throws Exception
getObjectInstanceDelegate
in interface IGetObjectInstanceDelegate<ServiceObject>
service
- accepts ExchangeServicexmlElementName
- accepts StringException
- throws exceptionCopyright © 2012–2015 Microsoft. All rights reserved.