ValidateExchangeVersion method

void ValidateExchangeVersion(
  1. ExchangeVersion version
)
Validates FolderId against a specified request version. The version.

Implementation

void ValidateExchangeVersion(ExchangeVersion version) {
  // The FolderName property is a WellKnownFolderName, an enumeration type. If the property
  // is set, make sure that the value is valid for the request version.
  if (this.FolderName != null) {
    EwsUtilities.ValidateEnumVersionValue(this.FolderName, version);
  }
}