Export (0) Print
Expand All

ContactSubscription Class

Specifies the type of contact information to be to be subscribed on a collection of contacts set in the subscription.

System.Object
  System.MarshalByRefObject
    UCWBase
      UCWLite
        Microsoft.Lync.Model.ContactSubscription

Namespace:  Microsoft.Lync.Model
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

public class ContactSubscription : UCWLite

You must cache a ContactSubscription that you create to maintain subscriptions to contacts you get using the search feature, call into GetContactByUri, or other methods that return Contact instances that are not in the Lync client contact list. You continue to receive contact information updates for the contacts in the cached ContactSubscription until you either un-subscribe to the contacts or destroy the ContactSubscription. The ContactSubscription is cached as a class member.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft