コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetStreamingEventsRequest"/> class.
 /// </summary>
 /// <param name="service">The service.</param>
 /// <param name="serviceObjectHandler">Callback method to handle response objects received.</param>
 /// <param name="subscriptionIds">List of subscription ids to listen to on this request.</param>
 /// <param name="connectionTimeout">Connection timeout, in minutes.</param>
 internal GetStreamingEventsRequest(
     ExchangeService service, 
     HandleResponseObject serviceObjectHandler,
     IEnumerable<string> subscriptionIds,
     int connectionTimeout)
     : base(service, serviceObjectHandler, GetStreamingEventsRequest.heartbeatFrequency)
 {
     this.subscriptionIds = subscriptionIds;
     this.connectionTimeout = connectionTimeout;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetStreamingEventsRequest"/> class.
 /// </summary>
 /// <param name="service">The service.</param>
 /// <param name="serviceObjectHandler">Callback method to handle response objects received.</param>
 /// <param name="subscriptionIds">List of subscription ids to listen to on this request.</param>
 /// <param name="connectionTimeout">Connection timeout, in minutes.</param>
 internal GetStreamingEventsRequest(
     ExchangeService service,
     HandleResponseObject serviceObjectHandler,
     IEnumerable <string> subscriptionIds,
     int connectionTimeout)
     : base(service, serviceObjectHandler, GetStreamingEventsRequest.heartbeatFrequency)
 {
     this.subscriptionIds   = subscriptionIds;
     this.connectionTimeout = connectionTimeout;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HangingServiceRequestBase"/> class.
 /// </summary>
 /// <param name="service">The service.</param>
 /// <param name="handler">Callback delegate to handle response objects</param>
 /// <param name="heartbeatFrequency">Frequency at which we expect heartbeats, in milliseconds.</param>
 internal HangingServiceRequestBase(ExchangeService service, HandleResponseObject handler, int heartbeatFrequency) :
     base(service)
 {
     this.responseHandler = handler;
     this.heartbeatFrequencyMilliseconds = heartbeatFrequency;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HangingServiceRequestBase"/> class.
 /// </summary>
 /// <param name="service">The service.</param>
 /// <param name="handler">Callback delegate to handle response objects</param>
 /// <param name="heartbeatFrequency">Frequency at which we expect heartbeats, in milliseconds.</param>
 internal HangingServiceRequestBase(ExchangeService service, HandleResponseObject handler, int heartbeatFrequency) :
     base(service)
 {
     this.responseHandler = handler;
     this.heartbeatFrequencyMilliseconds = heartbeatFrequency;
 }