ExchangeService.SubscribeToStreamingNotifications 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
订阅流式处理通知。 调用此方法会导致调用 Exchange Web Services (EWS) 。
public:
Microsoft::Exchange::WebServices::Data::StreamingSubscription ^ SubscribeToStreamingNotifications(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::FolderId ^> ^ folderIds, ... cli::array <Microsoft::Exchange::WebServices::Data::EventType> ^ eventTypes);
public Microsoft.Exchange.WebServices.Data.StreamingSubscription SubscribeToStreamingNotifications (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.FolderId> folderIds, params Microsoft.Exchange.WebServices.Data.EventType[] eventTypes);
Public Function SubscribeToStreamingNotifications (folderIds As IEnumerable(Of FolderId), ParamArray eventTypes As EventType()) As StreamingSubscription
参数
- folderIds
- IEnumerable<FolderId>
要订阅的文件夹的文件夹标识符。
- eventTypes
- EventType[]
要订阅的事件类型。
返回
指定事件的订阅。