ExchangeServiceBinding.GetEvents method
Exchange Server 2013
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.
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.GetEventsResponseTypeThe 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.