CreateAttachmentResponse class

Represents the response to an individual attachment creation operation.
Inheritance

Constructors

CreateAttachmentResponse(Attachment? attachment)
Initializes a new instance of the

Properties

Attachment Attachment?
Gets the attachment that was created.
no setter
attachment Attachment?
getter/setter pair
BatchProcessingStopped bool
Gets a value indicating whether a batch request stopped processing before the end.
no setterinherited
ErrorCode ServiceError?
Gets the error code associated with this response.
no setterinherited
ErrorDetails Map<String?, String?>?
Gets error details associated with the response. If Result is set to Success, ErrorDetailsDictionary returns null. Error details will only available for some error codes. For example, when error code is ErrorRecurrenceHasNoOccurrence, the ErrorDetailsDictionary will contain keys for EffectiveStartDate and EffectiveEndDate.
no setterinherited
ErrorMessage String?
Gets a detailed error message associated with the response. If Result is set to Success, ErrorMessage returns null. ErrorMessage is localized according to the PreferredCulture property of the ExchangeService object that was used to call the method that generated the response.
getter/setter pairinherited
ErrorProperties List<PropertyDefinitionBase?>
Gets information about property errors associated with the response. If Result is set to Success, ErrorProperties returns null. ErrorProperties is only available for some error codes. For example, when the error code is ErrorInvalidPropertyForOperation, ErrorProperties will contain the definition of the property that was invalid for the request.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
Result ServiceResult?
Gets the result associated with this response.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

InternalThrowIfNecessary() → void
method that throws a ServiceResponseException if this response has its Result property set to Error.
inherited
Loaded() → void
Called when the response has been loaded from XML.
inherited
LoadExtraErrorDetailsFromXml(EwsServiceXmlReader reader, String xmlElementName) bool
Reads the headers from a HTTP response
inherited
LoadFromXml(EwsServiceXmlReader reader, String xmlElementName) → void
Loads response from XML.
inherited
MapErrorCodeToErrorMessage() → void
Called after the response has been loaded from XML in order to map error codes to "better" error messages.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ParseMessageXml(EwsServiceXmlReader reader) → void
Parses the message XML.
inherited
ReadElementsFromXml(EwsServiceXmlReader reader) → void
Reads response elements from XML.
override
ThrowIfNecessary() → void
Throws a ServiceResponseException if this response has its Result property set to Error.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited