GetUserSettingsRequest constructor
GetUserSettingsRequest(
- AutodiscoverService service,
- Uri? url, [
- bool expectPartnerToken = false
Implementation
// GetUserSettingsRequest(AutodiscoverService service, Uri url)
// : this(service, url, false)
// {
// }
/// <summary>
/// Initializes a new instance of the <see cref="GetUserSettingsRequest"/> class.
/// </summary>
/// <param name="service">Autodiscover service associated with this request.</param>
/// <param name="url">URL of Autodiscover service.</param>
/// <param name="expectPartnerToken"></param>
GetUserSettingsRequest(AutodiscoverService service, Uri? url,
[bool expectPartnerToken = false])
: this.expectPartnerToken = expectPartnerToken,
super(service, url) {
// make an explicit https check.
if (expectPartnerToken && url!.scheme.toLowerCase() != "https") {
throw new ServiceValidationException("Strings.HttpsIsRequired");
}
}