Compartilhar via


StartInstantMessagingButton Class

Use the StartInstantMessagingButton control in Lync Control applications to enable the user to open a Lync conversation window and start an instant messaging conversation between the user who activated the control, and another user specified by the Source property.

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          Microsoft.Lync.Controls.UCBase
            Microsoft.Lync.Controls.ContactBase
              Microsoft.Lync.Controls.ContactButton
                Microsoft.Lync.Controls.StartInstantMessagingButton

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

Syntax

'Declaration
Public Class StartInstantMessagingButton _
    Inherits ContactButton
'Usage
Dim instance As StartInstantMessagingButton
public class StartInstantMessagingButton : ContactButton

Remarks

The control can also start an IM conversation with a distribution group.

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

StartInstantMessagingButton Members

Microsoft.Lync.Controls Namespace