PublishSubscribeSession Members
Include Protected Members
Include Inherited Members
The PublishSubscribeSession class provides a simplified wrapper to establish and terminate subscription and to process the SipSubscription events. It also handles service requests asynchronously.
The PublishSubscribeSession type exposes the following members.
Properties
Name | Description | |
---|---|---|
CurrentState | Gets the state of the subscription. | |
IsSubscriptionActive | Obsolete. Gets whether the session has an active underlying subscription. | |
SubscriberEndpoint | Gets the endpoint that the subscription belongs to. |
Top
Methods
Name | Description | |
---|---|---|
BeginRefresh | Begins an asynchronous operation to refresh the underlying subscription. | |
BeginSubscribe | Begins an asynchronous operation to subscribe to the presence session. | |
BeginUnsubscribe | Begins an asynchronous operation to unsubscribe the underlying subscription. | |
EndRefresh | Ends the Refresh Operation initiated by BeginRefresh. | |
EndSubscribe | Ends the Subscribe operation initiated by BeginSubscribe. | |
EndUnsubscribe | Ends the asynchronous operation started by BeginUnsubscribe method. | |
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
ToString | (inherited from Object) |
Top
Events
Name | Description | |
---|---|---|
SubscriptionStateChange | Raised when there are changes in the underlying subscription state. |
Top