Export (0) Print
Expand All

RemotePresence Members

Class which provide easy access to subscribe for presence for given URIs; it encapsulates the concept of batch subscribe and single subscription and handles it internally.

The RemotePresence type exposes the following members.

  NameDescription
Public propertyPresenceSubscriptionCategoriesGets or sets the list of categories to subscribe for.
Top

  NameDescription
Public methodBeginAddTargetsAdd target in the subscription dispatcher and also start the subscription for given target.
Public methodBeginPresenceQueryBegin a presence query request for a given list of targets for the given set of presence categories.
Public methodBeginRefreshInvoke the refresh operation on all active subscriptions; the client should expect to receive notifications for targets in this batch, for whom subscription is active.
Public methodBeginRemoveAllTargetsInvoke Terminate on all existing subscriptions, which are not already terminating.
Public methodBeginRemoveTargetRemove target from the subscription dispatcher and start terminating the existing subscription.
Public methodEndAddTargetsComplete the async operation started by BeginAddTarget.
Public methodEndPresenceQueryComplete the async operation initiated by the BeginPresenceQuery.
Public methodEndRefreshComplete the async operation started by BeginRefresh.
Public methodEndRemoveAllTargetsComplete the async operation started by BeginTerminate.
Public methodEndRemoveTargetComplete the async operation started by BeginremoveTarget.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetCurrentSubscriptionStateReturn the current subscription state for a given target.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventPresenceNotificationReceivedEvent handler that will note presence state changes for any target on the subscription.
Public eventPresenceSubscriptionStateChangedEvent handler that will note subscription state change for any target.
Top

Community Additions

ADD
Show:
© 2014 Microsoft