ExchangeService.withVersion constructor

ExchangeService.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 version of EWS that the service targets.

Implementation

//  ExchangeService()
//      : super();

/// <summary>
/// Initializes a new instance of the <see cref="ExchangeService"/> class, targeting
/// the latest supported version of EWS and scoped to the specified time zone.
/// </summary>
/// <param name="timeZone">The time zone to which the service is scoped.</param>
//ExchangeService(TimeZoneInfo timeZone)
//            : super(timeZone)
//        {
//        }

/// <summary>
/// Initializes a new instance of the <see cref="ExchangeService"/> class, targeting
/// the specified version of EWS and scoped to the system's current time zone.
/// </summary>
/// <param name="requestedServerVersion">The version of EWS that the service targets.</param>
ExchangeService.withVersion(ExchangeVersion requestedServerVersion)
    : super.withVersion(requestedServerVersion);