BuildGetEventsRequest method
Builds an request to retrieve the latests events associated with a pull subscription.
The Id of the pull subscription for which to get the events.
The watermark representing the point in time where to start receiving events.
Implementation
GetEventsRequest BuildGetEventsRequest(
String? subscriptionId,
String? watermark,
) {
EwsUtilities.ValidateParam(subscriptionId, "subscriptionId");
EwsUtilities.ValidateParam(watermark, "watermark");
GetEventsRequest request = GetEventsRequest(this);
request.SubscriptionId = subscriptionId;
request.Watermark = watermark;
return request;
}