public final class CreateItemResponse extends ServiceResponse
Constructor and Description |
---|
CreateItemResponse(Item item)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<Item> |
getItems()
Gets the item.
|
protected Item |
getObjectInstance(ExchangeService service,
String xmlElementName)
Gets Item instance.
|
ServiceObject |
getObjectInstanceDelegate(ExchangeService service,
String xmlElementName)
Gets the object instance delegate.
|
protected void |
loaded()
Clears the change log of the created folder if the creation succeeded.
|
protected void |
readElementsFromXml(EwsServiceXmlReader reader)
Reads response elements from XML.
|
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary
public CreateItemResponse(Item item)
item
- The item.protected Item getObjectInstance(ExchangeService service, String xmlElementName)
service
- The service.xmlElementName
- Name of the XML element.protected void loaded()
loaded
in class ServiceResponse
public ServiceObject getObjectInstanceDelegate(ExchangeService service, String xmlElementName) throws Exception
getObjectInstanceDelegate
in interface IGetObjectInstanceDelegate<ServiceObject>
service
- accepts ExchangeServicexmlElementName
- accepts StringException
- throws Exceptionprotected void readElementsFromXml(EwsServiceXmlReader reader) throws Exception
readElementsFromXml
in class ServiceResponse
reader
- the readerException
- the exceptionCopyright © 2012–2015 Microsoft. All rights reserved.