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
  ScriptWrapper
    ComObject
      UCWBase
        Microsoft.Lync.Model.ContactSubscription

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

Syntax

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

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