ExchangeServiceBase class abstract

Represents an binding to an Exchange Service.
Implementers

Constructors

ExchangeServiceBase.withExchangeServiceAndExchangeVersion(ExchangeServiceBase service, ExchangeVersion requestedServerVersion)
Initializes a new instance of the
ExchangeServiceBase.withVersion(ExchangeVersion requestedServerVersion)
Initializes a new instance of the

Properties

AcceptGzipEncoding bool
Gets or sets a value indicating whether GZip compression encoding should be accepted.
getter/setter pair
ClientRequestId String?
Gets or sets the request id for the request.
getter/setter pair
ConnectionGroupName String?
Gets or sets the name of the connection group for the request.
getter/setter pair
CookieContainer CookieContainer
Gets or sets the cookie container.
getter/setter pair
Credentials ExchangeCredentials?
Gets or sets the credentials used to authenticate with the Exchange Web Services. Setting the Credentials property automatically sets the UseDefaultCredentials to false.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
HttpHeaders Map<String, String>
Gets or sets a flag to indicate whether the client requires the server side to return the request id.
no setter
HttpResponseHeaders Map<String, String?>
Gets a collection of HTTP headers from the last response.
no setter
HttpWebRequestFactory IEwsHttpWebRequestFactory
Gets or sets the HTTP web request factory.
getter/setter pair
KeepAlive bool
Gets or sets if the request to the internet resource should contain a Connection HTTP header with the value Keep-alive
getter/setter pair
OnResponseHeadersCaptured List<ResponseHeadersCapturedHandler>
Occurs when the http response headers of a server call is captured.
getter/setter pair
OnSerializeCustomSoapHeaders List<CustomXmlSerializationDelegate>
Provides an event that applications can implement to emit custom SOAP headers in requests that are sent to Exchange.
getter/setter pair
PreAuthenticate bool
Gets or sets a value that indicates whether HTTP pre-authentication should be performed.
getter/setter pair
RequestedServerVersion ExchangeVersion
Gets the requested server version.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
SendClientLatencies bool
Gets a time zone definition generated from the time zone info to which this service is scoped.
getter/setter pair
ServerInfo ExchangeServerInfo?
Gets information associated with the server that processed the last request. Will be null if no requests have been processed.
getter/setter pair
SuppressXmlVersionHeader bool
For testing: suppresses generation of the SOAP version header.
getter/setter pair
Timeout int
Gets or sets the timeout used when sending HTTP requests and when receiving HTTP responses, in milliseconds. Defaults to 100000.
getter/setter pair
TimeZone → TimeZone?
Gets the time zone this service is scoped to.
no setter
TraceEnabled bool
Gets or sets a value indicating whether tracing is enabled.
getter/setter pair
TraceFlags List<TraceFlags>
Gets or sets the trace flags.
getter/setter pair
TraceListener ITraceListener
Gets or sets the trace listener.
getter/setter pair
UseDefaultCredentials bool
Gets or sets a value indicating whether the credentials of the user currently logged into Windows should be used to authenticate with the Exchange Web Services. Setting UseDefaultCredentials to true automatically sets the Credentials property to null.
getter/setter pair
UserAgent String
Gets or sets the user agent.
getter/setter pair
WebProxt IWebProxy
no getter
WebProxy IWebProxy?
Gets or sets the web proxy that should be used when sending requests to EWS. Set this property to null to use the default web proxy.
no setter

Methods

ConvertDateTimeToUniversalDateTimeString(DateTime value) String
Converts the date time to universal date time string.
ConvertStartDateToUnspecifiedDateTime(String? value) DateTime?
Converts xs:dateTime String with either "Z", "-00:00" bias, or "" suffixes to unspecified StartDate value ignoring the suffix.
ConvertUniversalDateTimeStringToLocalDateTime(String? value) DateTime?
Converts the universal date time String to local date time.
DoOnSerializeCustomSoapHeaders(XmlWriter? writer) → void
Calls the custom SOAP header serialization event handlers, if defined.
InternalProcessHttpErrorResponse(IEwsHttpWebResponse httpWebResponse, WebException webException, TraceFlags responseHeadersTraceFlag, TraceFlags responseTraceFlag) → void
Processes an HTTP error response
IsTraceEnabledFor(TraceFlags traceFlag) bool
Determines whether tracing is enabled for specified trace flag(s).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
PrepareHttpWebRequestForUrl(Uri url, bool acceptGzipEncoding, bool allowAutoRedirect) Future<IEwsHttpWebRequest>
Creates an HttpWebRequest instance and initializes it with the appropriate parameters, based on the configuration of this service object.
ProcessHttpErrorResponse(IEwsHttpWebResponse httpWebResponse, WebException webException) → void
Processes an HTTP error response.
ProcessHttpResponseHeaders(TraceFlags traceType, IEwsHttpWebResponse response) → void
Traces the HTTP response headers.
SetContentType(IEwsHttpWebRequest request) → void
SetCustomUserAgent(String userAgent) → void
Register the custom auth module to support non-ascii upn authentication if the server supports that
toString() String
A string representation of this object.
inherited
TraceHttpRequestHeaders(TraceFlags traceType, IEwsHttpWebRequest request) → void
Traces the HTTP request headers.
TraceMessage(TraceFlags traceType, String logEntry) → void
Logs the specified String to the TraceListener if tracing is enabled.
TraceXml(TraceFlags traceType, MemoryStream stream) → void
Logs the specified XML to the TraceListener if tracing is enabled.
Validate() → void
Initializes a new instance of the

Operators

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

Static Properties

SessionKey Uint8List?
Gets the session key.
no setter