Represents an binding to an Exchange Service.
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
-
DateTimePrecision
↔ DateTimePrecision
-
Gets or sets the DateTime precision for DateTime values returned from Exchange Web Services.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
Gets or sets a flag to indicate whether the client requires the server side to return the request id.
no setter
-
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
-
ImpersonatedUserId
↔ ImpersonatedUserId?
-
Gets or sets the Id of the user that EWS should impersonate.
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
-
ManagementRoles
↔ ManagementRoles?
-
getter/setter pair
-
Occurs when the http response headers of a server call is captured.
getter/setter pair
-
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
-
PrivilegedUserId
↔ PrivilegedUserId?
-
Gets or sets the Id of the user that EWS should open his/her mailbox with privileged logon type.
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 or sets a value indicating whether client latency info is push to server.
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
-
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.
getter/setter pair
-
TimeZoneDefinition
→ TimeZoneDefinition
-
Gets a time zone definition generated from the time zone info to which this service is scoped.
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
-
ConvertDateTimeToUniversalDateTime(DateTime value)
→ DateTime
-
Converts a DateTime to UTC the way C# handles the DateTime kinds: a UTC
DateTime is returned as is, a [datetime.TZDateTime] (Local kind) is converted
from its own time zone and a plain local DateTime (Unspecified kind) is read
as a wall-clock time in the service's time zone, or in the platform's local
time zone when [TimeZone] is null (C#'s default, TimeZoneInfo.Local).
-
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.
-
Calls the custom SOAP header serialization event handlers, if defined.
-
InternalProcessHttpErrorResponse(IEwsHttpWebResponse httpWebResponse, WebException webException, 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.
-
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
-
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