HangingServiceRequestBase class abstract
- Inheritance
-
- Object
- ServiceRequestBase
- HangingServiceRequestBase
- Implementers
Constructors
- HangingServiceRequestBase(ExchangeService service, HandleResponseObject handler, int heartbeatFrequency)
- Initializes a new instance of the
Properties
- AnchorMailbox ↔ String?
-
Gets or sets the anchor mailbox associated with the request
getter/setter pairinherited
- EmitTimeZoneHeader → bool
-
Gets a value indicating whether the TimeZoneContext SOAP header should be eimitted.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- heartbeatFrequencyMilliseconds ↔ int
-
Expected minimum frequency in responses, in milliseconds.
getter/setter pair
- IsConnected ↔ bool
-
Gets a value indicating whether this instance is connected.
getter/setter pair
-
OnDisconnect
↔ List<
HangingRequestDisconnectHandler> -
Occurs when the hanging request is disconnected.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- Service → ExchangeService
-
Gets the service.
no setterinherited
Methods
-
AddHeaders(
WebHeaderCollection? webHeaderCollection) → void -
Allows the subclasses to add their own header information
inherited
-
BuildEwsHttpWebRequest(
) → Future< IEwsHttpWebRequest> -
Builds the IEwsHttpWebRequest object for current service request with exception handling.
inherited
-
Disconnect(
) → Future< void> - Disconnects the request.
-
DisconnectWithReason(
HangingRequestDisconnectReason reason, Exception? exception) → Future< void> - Disconnects the request with the specified reason and exception.
-
GetEwsHttpWebResponse(
IEwsHttpWebRequest request) → Future< IEwsHttpWebResponse> -
Gets the IEwsHttpWebRequest object from the specified IEwsHttpWebRequest object with exception handling
inherited
-
GetMinimumRequiredServerVersion(
) → ExchangeVersion -
Gets the minimum server version required to process this request.
inherited
-
GetResponseXmlElementName(
) → String -
Gets the name of the response XML element.
inherited
-
GetXmlElementName(
) → String -
Gets the name of the XML element.
inherited
-
InternalExecute(
) → Future< void> - Exectures the request.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ParseResponse(
EwsServiceXmlReader reader) → Future< Object> -
Parses the response.
inherited
-
ParseResponseWithHeaders(
EwsServiceXmlReader reader, WebHeaderCollection responseHeaders) → Future< Object> -
Parses the response.
inherited
-
ReadPreamble(
EwsServiceXmlReader ewsXmlReader) → Future< void> -
Reads any preamble data not part of the core response.
override
-
ReadResponseWithHeaders(
EwsServiceXmlReader ewsXmlReader, WebHeaderCollection? responseHeaders) → Future< Object> -
Reads the response.
inherited
-
ReadSoapFault(
EwsServiceXmlReader reader) → Future< SoapFaultDetails?> -
Reads the SOAP fault.
inherited
-
ThrowIfNotSupportedByRequestedServerVersion(
) → void -
Throw exception if request is not supported in requested server version.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
TraceResponseXml(
IEwsHttpWebResponse response, MemoryStream memoryStream) → void -
Traces the response. This should only be used for synchronous requests, or synchronous situations
(such as a WebException on an asynchrounous request).
inherited
-
TraceXmlRequest(
MemoryStream memoryStream) → void -
Traces an XML request. This should only be used for synchronous requests, or synchronous situations
(such as a WebException on an asynchrounous request).
inherited
-
Validate(
) → void -
Validate request.
inherited
-
ValidateAndEmitRequest(
OutParam< IEwsHttpWebRequest> requestOut) → Future<IEwsHttpWebResponse> -
Validates request parameters, and emits the request to the server.
inherited
-
WriteAttributesToXml(
EwsServiceXmlWriter writer) → void -
Writes XML attributes.
inherited
-
WriteBodyToXml(
EwsServiceXmlWriter writer) → void -
Writes XML body.
inherited
-
WriteElementsToXml(
EwsServiceXmlWriter writer) → void -
Writes XML elements.
inherited
-
WriteToXml(
EwsServiceXmlWriter writer) → void -
Writes XML.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- LogAllWireBytes ↔ bool
-
Test switch to log all bytes that come across the wire.
Helpful when parsing fails before certain bytes hit the trace logs.
getter/setter pair