diff --git a/Core/ExchangeService.cs b/Core/ExchangeService.cs index 99ff4a66..2e772581 100644 --- a/Core/ExchangeService.cs +++ b/Core/ExchangeService.cs @@ -2849,7 +2849,9 @@ public StreamingSubscription SubscribeToStreamingNotifications( EwsUtilities.ValidateParamCollection(folderIds, "folderIds"); - return this.BuildSubscribeToStreamingNotificationsRequest(folderIds, eventTypes).Execute()[0].Subscription; + StreamingSubscription StreamingSub = this.BuildSubscribeToStreamingNotificationsRequest(folderIds, eventTypes).Execute()[0].Subscription; + StreamingSub.folderIds = folderIds; + return StreamingSub; } /// diff --git a/Notifications/StreamingSubscription.cs b/Notifications/StreamingSubscription.cs index 5882c737..b52c8c16 100644 --- a/Notifications/StreamingSubscription.cs +++ b/Notifications/StreamingSubscription.cs @@ -101,5 +101,10 @@ protected override bool UsesWatermark return false; } } + + /// + /// List of the folderIds in the subscription. + /// + public System.Collections.Generic.IEnumerable folderIds; } } \ No newline at end of file