Class StreamingSubscription
- Namespace
- Microsoft.Exchange.WebServices.Data
- Assembly
- Microsoft.Exchange.WebServices.dll
Represents a streaming subscription.
public sealed class StreamingSubscription : SubscriptionBase
- Inheritance
-
StreamingSubscription
- Inherited Members
Properties
Service
Gets the service used to create this subscription.
public ExchangeService Service { get; }
Property Value
UsesWatermark
Gets a value indicating whether this subscription uses watermarks.
protected override bool UsesWatermark { get; }
Property Value
Methods
BeginUnsubscribe(AsyncCallback, object)
Begins an asynchronous request to unsubscribe from the streaming subscription.
public IAsyncResult BeginUnsubscribe(AsyncCallback callback, object state)
Parameters
callbackAsyncCallbackThe AsyncCallback delegate.
stateobjectAn object that contains state information for this request.
Returns
- IAsyncResult
An IAsyncResult that references the asynchronous request.
EndUnsubscribe(IAsyncResult)
Ends an asynchronous request to unsubscribe from the streaming subscription.
public void EndUnsubscribe(IAsyncResult asyncResult)
Parameters
asyncResultIAsyncResultAn IAsyncResult that references the asynchronous request.
Unsubscribe()
Unsubscribes from the streaming subscription.
public void Unsubscribe()