Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

_IUccSessionManagerEvents Interface

Defines the events raised by an IUccSessionManager instance.

Namespace: Microsoft.Office.Interop.UccApi
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)
public interface class _IUccSessionManagerEvents : IDispatch, IUnknown
public interface _IUccSessionManagerEvents extends IDispatch, IUnknown
public interface _IUccSessionManagerEvents extends IDispatch, IUnknown

An application must implement this event-handling interface and advise an interested IUccSessionManager instance of the implementation to catch the events raised by the session manager object. This is a dispinterface. Its members define the event handlers for the events raised by an IUccSessionManager object. To catch the events, a UCC API client must implement these event handlers and advise the event source of the implementation if it is interested in receiving the events. To prevent memory leaks, the client should unadvise the events when it is no longer interested in the events.

Win32 COM/C++ Syntax

dispinterface _IUccSessionManagerEvents

The following example is a simple illustration of an application class that is an event sink for events raised by an instance of IUccSessionManager.

public class SessionManagerEvents : _IUccSessionManagerEvents 
{
    void _IUccSessionManagerEvents.OnOutgoingSession(
        IUccEndpoint pEventSource,
        UccOutgoingSessionEvent pEventData)
    {
    }
    void _IUccSessionManagerEvents.OnIncomingSession(
        IUccEndpoint pEventSource,
        UccIncomingSessionEvent pEventData)
    {
    }
}

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.