ContactSubscription Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class ContactSubscription _
    Inherits UCWLite
'Usage
Dim instance As ContactSubscription
public class ContactSubscription : UCWLite

Remarks

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.

Thread Safety

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

See Also

Reference

ContactSubscription Members

Microsoft.Lync.Model Namespace