ExchangeService ExchangeService ExchangeService Constructors

Definition

Overloads

ExchangeService() ExchangeService() ExchangeService()

Initializes a new instance of the ExchangeService class, targeting the latest supported version of Exchange Web Services (EWS) and scoped to the system's current time zone.

ExchangeService(ExchangeVersion) ExchangeService(ExchangeVersion) ExchangeService(ExchangeVersion)

Initializes a new instance of the ExchangeService class, targeting the specified version of Exchange Web Services (EWS) and scoped to the system's current time zone.

ExchangeService(TimeZoneInfo) ExchangeService(TimeZoneInfo) ExchangeService(TimeZoneInfo)

Initializes a new instance of the ExchangeService class, targeting the latest supported version of Exchange Web Services (EWS) and scoped to the specified time zone.

ExchangeService(ExchangeVersion, TimeZoneInfo) ExchangeService(ExchangeVersion, TimeZoneInfo) ExchangeService(ExchangeVersion, TimeZoneInfo)

Initializes a new instance of the ExchangeService class, targeting the specified version of Exchange Web Services (EWS) and scoped to the specified time zone.

ExchangeService() ExchangeService() ExchangeService()

Initializes a new instance of the ExchangeService class, targeting the latest supported version of Exchange Web Services (EWS) and scoped to the system's current time zone.

public:
 ExchangeService();
public ExchangeService ();
Public Sub New ()

ExchangeService(ExchangeVersion) ExchangeService(ExchangeVersion) ExchangeService(ExchangeVersion)

Initializes a new instance of the ExchangeService class, targeting the specified version of Exchange Web Services (EWS) and scoped to the system's current time zone.

public:
 ExchangeService(Microsoft::Exchange::WebServices::Data::ExchangeVersion requestedServerVersion);
public ExchangeService (Microsoft.Exchange.WebServices.Data.ExchangeVersion requestedServerVersion);
Public Sub New (requestedServerVersion As ExchangeVersion)
Parameters
requestedServerVersion
ExchangeVersion ExchangeVersion ExchangeVersion

The version of EWS that the service targets.

ExchangeService(TimeZoneInfo) ExchangeService(TimeZoneInfo) ExchangeService(TimeZoneInfo)

Initializes a new instance of the ExchangeService class, targeting the latest supported version of Exchange Web Services (EWS) and scoped to the specified time zone.

public:
 ExchangeService(TimeZoneInfo ^ timeZone);
public ExchangeService (TimeZoneInfo timeZone);
Public Sub New (timeZone As TimeZoneInfo)
Parameters
timeZone
TimeZoneInfo TimeZoneInfo TimeZoneInfo

The time zone to which the service is scoped.

ExchangeService(ExchangeVersion, TimeZoneInfo) ExchangeService(ExchangeVersion, TimeZoneInfo) ExchangeService(ExchangeVersion, TimeZoneInfo)

Initializes a new instance of the ExchangeService class, targeting the specified version of Exchange Web Services (EWS) and scoped to the specified time zone.

public:
 ExchangeService(Microsoft::Exchange::WebServices::Data::ExchangeVersion requestedServerVersion, TimeZoneInfo ^ timeZone);
public ExchangeService (Microsoft.Exchange.WebServices.Data.ExchangeVersion requestedServerVersion, TimeZoneInfo timeZone);
Public Sub New (requestedServerVersion As ExchangeVersion, timeZone As TimeZoneInfo)
Parameters
requestedServerVersion
ExchangeVersion ExchangeVersion ExchangeVersion

The version of EWS that the service targets.

timeZone
TimeZoneInfo TimeZoneInfo TimeZoneInfo

The time zone to which the service is scoped.

Applies to