Expand Minimize
This topic has not yet been rated - Rate this topic

ExchangeServiceBinding.GetEvents method

The Exchange Web Services (EWS) autogenerated proxy object models that are created by .NET Framework proxy generators are deemphasized and we do not recommend that you use them for new .NET Framework client development. We recommend that you use the EWS Managed API to develop clients that target the .NET Framework. We recommend that you use the EWS Java API to develop clients that target the Java platform. For more information about the EWS Managed API, see Explore the EWS Managed API.

The GetEvents method sends the request to and gets the response from a GetEvents operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use = SoapBindingUse.Literal, 
	ParameterStyle = SoapParameterStyle.Bare)]
public GetEventsResponseType GetEvents(
	GetEventsType GetEvents1
)

Parameters

GetEvents1
Type: ExchangeWebServices.GetEventsType
An instance of the GetEventsType class that contains the identifier for a pull subscription and a specific watermark.

Return value

Type: ExchangeWebServices.GetEventsResponseType
The GetEvents method returns a GetEventsResponseType object that contains the status of the GetEvents operation and a notification that may contain a set of events for a subscription.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.