ExchangeServiceBinding.GetEvents Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Sends the request and gets the response to a GetEvents operation.
Namespace: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)
Syntax
'Declaration
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use := SoapBindingUse.Literal, _
ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
Public Function GetEvents ( _
GetEvents1 As GetEventsType _
) As GetEventsResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim GetEvents1 As GetEventsType
Dim returnValue As GetEventsResponseType
returnValue = instance.GetEvents(GetEvents1)
[SoapHeaderAttribute("MailboxCulture")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use = SoapBindingUse.Literal,
ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("SerializedSecurityContext")]
public GetEventsResponseType GetEvents(
GetEventsType GetEvents1
)
[SoapHeaderAttribute(L"MailboxCulture")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use = SoapBindingUse::Literal,
ParameterStyle = SoapParameterStyle::Bare)]
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"ExchangeImpersonation")]
[SoapHeaderAttribute(L"SerializedSecurityContext")]
public:
GetEventsResponseType^ GetEvents(
GetEventsType^ GetEvents1
)
[<SoapHeaderAttribute("MailboxCulture")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetEvents", Use = SoapBindingUse.Literal,
ParameterStyle = SoapParameterStyle.Bare)>]
[<SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("ExchangeImpersonation")>]
[<SoapHeaderAttribute("SerializedSecurityContext")>]
member GetEvents :
GetEvents1:GetEventsType -> GetEventsResponseType
Parameters
- GetEvents1
Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.GetEventsType
An instance of the GetEventsType class that contains the identifier for a pull subscription and a specific watermark.
Return Value
Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.GetEventsResponseType
An object that contains the status of the GetEvents operation and a notification that may contain a set of events for a subscription.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5
See Also
Reference
ExchangeServiceBinding Members
Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace