Table of Contents

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

ExchangeService

UsesWatermark

Gets a value indicating whether this subscription uses watermarks.

protected override bool UsesWatermark { get; }

Property Value

bool

Methods

BeginUnsubscribe(AsyncCallback, object)

Begins an asynchronous request to unsubscribe from the streaming subscription.

public IAsyncResult BeginUnsubscribe(AsyncCallback callback, object state)

Parameters

callback AsyncCallback

The AsyncCallback delegate.

state object

An 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

asyncResult IAsyncResult

An IAsyncResult that references the asynchronous request.

Unsubscribe()

Unsubscribes from the streaming subscription.

public void Unsubscribe()