AutodiscoverServiceBase

AutodiscoverServiceBase class

Represents an abstract binding to an Autodiscover Service.

Constructors

NameDescription
AutodiscoverServiceBase (2 overloads)Initializes a new instance of the AutodiscoverServiceBase class.

Methods

NameDescription
CustomXmlSerializationDelegateDefines a delegate that is used to allow applications to emit custom XML when SOAP requests are sent to Exchange .
DoOnSerializeCustomSoapHeadersCalls the custom SOAP header serialization event handlers, if defined.
get_AcceptGzipEncodingGets a value indicating whether GZip compression encoding should be accepted.
get_ClientRequestIdGets the request id for the request.
get_ConnectionGroupNameGets the name of the connection group for the request.
get_CookieContainerGets the cookie container.
get_CredentialsGets the credentials used to authenticate with the Exchange Web Services. Setting the Credentials property automatically sets the UseDefaultCredentials to false.
get_HttpHeadersGets a collection of HTTP headers that will be sent with each request to EWS.
get_HttpResponseHeadersGets a collection of HTTP headers from the last response.
get_KeepAliveGets if the request to the internet resource should contain a Connection HTTP header with the value Keep-alive
get_LogFileNameGets log file name
get_LoggerDiagnostic logger
get_PreAuthenticateGets a value that indicates whether HTTP pre-authentication should be performed.
get_RequestedServerVersionGets the requested server version.
get_ReturnClientRequestIdGets a flag to indicate whether the client requires the server side to return the request id.
get_SendClientLatenciesGets a value indicating whether client latency info is push to server.
get_ServerInfoGets information associated with the server that processed the last request. Will be null if no requests have been processed.
get_SessionKeyGets the session key.
get_SuppressXmlVersionHeaderFor testing: suppresses generation of the SOAP version header.
get_TimeoutGets the timeout used when sending HTTP requests and when receiving HTTP responses, in milliseconds. Defaults to 100000.
get_TimeZoneGets the time zone this service is scoped to.
get_UseDateInLogFileNameGets value which indicates if date has to be used in log file name.
get_UseDefaultCredentialsGets 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.
get_UserAgentGets the user agent.
get_WebProxyGets the web proxy that should be used when sending requests to EWS. Set this property to null to use the default web proxy.
initializeLogger
InternalProcessHttpErrorResponseProcesses an HTTP error response
Log (5 overloads)
PrepareHttpWebRequestForUrlCreates an HttpWebRequest instance and initializes it with the appropriate parameters, based on the configuration of this service object.
SaveHttpResponseHeadersSave the HTTP response headers.
set_AcceptGzipEncodingSets a value indicating whether GZip compression encoding should be accepted.
set_ClientRequestIdSets the request id for the request.
set_ConnectionGroupNameSets the name of the connection group for the request.
set_CookieContainerSets the cookie container.
set_CredentialsSets the credentials used to authenticate with the Exchange Web Services. Setting the Credentials property automatically sets the UseDefaultCredentials to false.
set_KeepAliveSets if the request to the internet resource should contain a Connection HTTP header with the value Keep-alive
set_LogFileNameSets log file name
set_PreAuthenticateSets a value that indicates whether HTTP pre-authentication should be performed.
set_ReturnClientRequestIdSets a flag to indicate whether the client requires the server side to return the request id.
set_SendClientLatenciesSets a value indicating whether client latency info is push to server.
set_ServerInfoGets information associated with the server that processed the last request. Will be null if no requests have been processed.
set_SuppressXmlVersionHeaderFor testing: suppresses generation of the SOAP version header.
set_TimeoutSets the timeout used when sending HTTP requests and when receiving HTTP responses, in milliseconds. Defaults to 100000.
set_UseDateInLogFileNameSets value which indicates if date has to be used in log file name.
set_UseDefaultCredentialsSets 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.
set_UserAgentSets the user agent.
set_WebProxySets the web proxy that should be used when sending requests to EWS. Set this property to null to use the default web proxy.
AutodiscoverRequest
AutodiscoverService
AccountIsLockedSpecial HTTP status code that indicates that the account is locked.
OnSerializeCustomSoapHeadersProvides an event that applications can implement to emit custom SOAP headers in requests that are sent to Exchange .