public final class CreateAttachmentResponse extends ServiceResponse
Constructor and Description |
---|
CreateAttachmentResponse(Attachment attachment)
Initializes a new instance of the CreateAttachmentResponse class.
|
Modifier and Type | Method and Description |
---|---|
Attachment |
getAttachment()
Gets the attachment that was created.
|
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 CreateAttachmentResponse(Attachment attachment)
attachment
- the attachmentprotected void readElementsFromXml(EwsServiceXmlReader reader) throws Exception
readElementsFromXml
in class ServiceResponse
reader
- the readerException
- the exceptionpublic Attachment getAttachment()
Copyright © 2012–2015 Microsoft. All rights reserved.