Share via


UccInstantMessagingSession Class

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Illustrates the implementation of an instant messaging session. The class cannot be co-created.

Namespace: Microsoft.Office.Interop.UccApi
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)

Syntax

'Declaration
Public MustInherit Class UccInstantMessagingSession
public abstract class UccInstantMessagingSession
public ref class UccInstantMessagingSession abstract
public abstract class UccInstantMessagingSession
public abstract class UccInstantMessagingSession

Remarks

This class implements the IUccInstantMessagingSession, IUccSessionCallControl, and IUccSession interfaces. The default interface is IUccInstantMessagingSession. An application obtains the default interface on the class instance directly. Non-default interfaces, if any, can be obtained by calling QueryInterface on the default interface. An instance of this class is also a source of the events defined in the _IUccInstantMessagingSessionEvents, _IUccSessionEvents, _IUccSessionParticipantCollectionEvents, and _IUccSessionCallControlEvents dispinterfaces. This class cannot be co-created. It is intended to illustrate that the implemented interfaces can be queried from each other as well as the events raised in an instance of this class.

Win32 COM/C++ Syntax

coclass UccInstantMessagingSession
{
   [default] interface IUccInstantMessagingSession;
   interface IUccSessionCallControl;
   interface IUccSession;
   [default, source] dispinterface _IUccInstantMessagingSessionEvents;
   [source] dispinterface _IUccSessionEvents;
   [source] dispinterface _IUccSessionParticipantCollectionEvents;
   [source] dispinterface _IUccSessionCallControlEvents;
};

Inheritance Hierarchy

System.Object
  Microsoft.Office.Interop.UccApi.UccInstantMessagingSession

Thread Safety

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

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2000 with Service Pack 4, Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

UccInstantMessagingSession Members
Microsoft.Office.Interop.UccApi Namespace