AutodiscoverService.withExchangeServiceAndExchangeVersion constructor

AutodiscoverService.withExchangeServiceAndExchangeVersion(
  1. ExchangeServiceBase service,
  2. ExchangeVersion requestedServerVersion
)
Initializes a new instance of the Initializes a new instance of the The requested server version. Initializes a new instance of the The domain that will be used to determine the URL of the service. Initializes a new instance of the The domain that will be used to determine the URL of the service. The requested server version. Initializes a new instance of the The URL of the service. Initializes a new instance of the The URL of the service. The requested server version. Initializes a new instance of the The URL of the service. The domain that will be used to determine the URL of the service. Initializes a new instance of the The URL of the service. The domain that will be used to determine the URL of the service. The requested server version. Initializes a new instance of the The other service. The requested server version.

Implementation

// AutodiscoverService()
//            : this(ExchangeVersion.Exchange2010)
//        {
//        }

/// <summary>
/// Initializes a new instance of the <see cref="AutodiscoverService"/> class.
/// </summary>
/// <param name="requestedServerVersion">The requested server version.</param>
// AutodiscoverService.withExchangeVersion(ExchangeVersion requestedServerVersion)
//            : this(null, null, requestedServerVersion)
//        {
//        }

/// <summary>
/// Initializes a new instance of the <see cref="AutodiscoverService"/> class.
/// </summary>
/// <param name="domain">The domain that will be used to determine the URL of the service.</param>
// AutodiscoverService.withDomain(String domain)
//            : this(null, domain)
//        {
//        }

/// <summary>
/// Initializes a new instance of the <see cref="AutodiscoverService"/> class.
/// </summary>
/// <param name="domain">The domain that will be used to determine the URL of the service.</param>
/// <param name="requestedServerVersion">The requested server version.</param>
// AutodiscoverService.withDomainAndExchangeVersion(String domain, ExchangeVersion requestedServerVersion)
//            : this(null, domain, requestedServerVersion)
//        {
//        }

/// <summary>
/// Initializes a new instance of the <see cref="AutodiscoverService"/> class.
/// </summary>
/// <param name="url">The URL of the service.</param>
// AutodiscoverService.withUrl(Uri url)
//            : this(url, url.Host)
//        {
//        }

/// <summary>
/// Initializes a new instance of the <see cref="AutodiscoverService"/> class.
/// </summary>
/// <param name="url">The URL of the service.</param>
/// <param name="requestedServerVersion">The requested server version.</param>
// AutodiscoverService.withUrlAndExchangeVersion(Uri url, ExchangeVersion requestedServerVersion)
//            : this(url, url.Host, requestedServerVersion)
//        {
//        }

/// <summary>
/// Initializes a new instance of the <see cref="AutodiscoverService"/> class.
/// </summary>
/// <param name="url">The URL of the service.</param>
/// <param name="domain">The domain that will be used to determine the URL of the service.</param>
//        AutodiscoverService.withUrlAndDomain(Uri url, String domain)
//            : super()
//        {
//            EwsUtilities.ValidateDomainNameAllowNull(domain, "domain");
//
//            this.url = url;
//            this.domain = domain;
//            this.dnsClient = new AutodiscoverDnsClient(this);
//        }

/// <summary>
/// Initializes a new instance of the <see cref="AutodiscoverService"/> class.
/// </summary>
/// <param name="url">The URL of the service.</param>
/// <param name="domain">The domain that will be used to determine the URL of the service.</param>
/// <param name="requestedServerVersion">The requested server version.</param>
//        AutodiscoverService.withUrlAndDomainAndExchangeVersion(
//            Uri url,
//            String domain,
//            ExchangeVersion requestedServerVersion)
//            : super(requestedServerVersion)
//        {
//            EwsUtilities.ValidateDomainNameAllowNull(domain, "domain");
//
//            this.url = url;
//            this.domain = domain;
//            this.dnsClient = new AutodiscoverDnsClient(this);
//        }

/// <summary>
/// Initializes a new instance of the <see cref="AutodiscoverService"/> class.
/// </summary>
/// <param name="service">The other service.</param>
/// <param name="requestedServerVersion">The requested server version.</param>
AutodiscoverService.withExchangeServiceAndExchangeVersion(
    ExchangeServiceBase service, ExchangeVersion requestedServerVersion)
    : super.withExchangeServiceAndExchangeVersion(
          service, requestedServerVersion);