ExchangeServiceBase.withVersion constructor

ExchangeServiceBase.withVersion(
  1. ExchangeVersion requestedServerVersion
)
Initializes a new instance of the Initializes a new instance of the The time zone to which the service is scoped. Initializes a new instance of the The requested server version.

Implementation

//        ExchangeServiceBase()
//            : this.withTimeZone(TimeZoneInfo.Local);

/// <summary>
/// Initializes a new instance of the <see cref="ExchangeServiceBase"/> class.
/// </summary>
/// <param name="timeZone">The time zone to which the service is scoped.</param>
//        ExchangeServiceBase.withTimeZone(TimeZoneInfo timeZone)
//        {
//            this.timeZone = timeZone;
//            this.UseDefaultCredentials = true;
//        }

/// <summary>
/// Initializes a new instance of the <see cref="ExchangeServiceBase"/> class.
/// </summary>
/// <param name="requestedServerVersion">The requested server version.</param>
ExchangeServiceBase.withVersion(ExchangeVersion requestedServerVersion)
//: this(requestedServerVersion, TimeZoneInfo.Local)
{
  this._requestedServerVersion = requestedServerVersion;
}