The SipSubscriptiontype exposes the following members.

Constructors

  Name Description
SipSubscription Overloaded.

Methods

  Name Description
BeginRefresh
Creates a transaction async result to refresh an existing subscription and puts the workitem in queue. Refresh is allowed only if the current subscription state is valid. Multiple simultaneous refreshes are allowed, but not recommended for the application.
BeginSendUpdateMessage
Send an update message on existing subscription dialog, this is useful where server allows the chnage in the semantics of existing subscription dialog especially used for LS batch subscriptions.
BeginSubscribe
Creates an subscribe request body and puts the workItem in queue to invoke Subscribe.
BeginTerminate
If a subscription exists, then terminate the subscription; else completed as no operation.
EndRefresh
Ends the pending refresh operation.
EndSendUpdateMessage
Ends the pending Subscription Update operation.
EndSubscribe
Ends the pending asynchronous subscribe operation.
EndTerminate
Ends the pending terminate operation.
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
MemberwiseClone (Inherited from Object.)
Refresh
Synchronous version of BeginRefresh and EndRefresh.
Subscribe
Synchronous version of BeginSubscribe and EndSubscribe.
Terminate
Synchronous version of BeginTerminate and EndTerminate.
ToString
Returns the string representation for the SipSubscription object, which basically contains endpointId, event, and the current subscription state.
(Overrides ObjectToString () () () .)

Properties

  Name Description
CurrentState
Gets the current signaling state of the subscription.
EventPackage
Gets the name of the event package, for which this subscription is created.
IsActive
Gets true if current state is subscribed or refreshing.
IsQueryOnly
Gets true or false. When IsQueryOnly is set to true, Expires 0 header would be automatically added on the underlying subscription. The default value is false.
SubscriberEndpoint
Gets the endpoint of the subscriber who creates this subscription.
Target
Gets the target to be used in the "To" header in the Subscribe request.
TimeRemainingToRefresh
Gets the time span remaining to expire this subscription.

See Also