ExchangeService constructor (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.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public ExchangeService(
	ExchangeVersion requestedServerVersion,
	TimeZoneInfo timeZone
)

Parameters

requestedServerVersion
Type: Microsoft.Exchange.WebServices.Data.ExchangeVersion

The version of EWS that the service targets.

timeZone
Type: System.TimeZoneInfo

The time zone to which the service is scoped.

Show: