Share via


_IUccPublicationEvent Interface

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.

Represents events raised by an IUccPublication instance.

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

Syntax

'Declaration
Public Interface _IUccPublicationEvent
    Inherits IDispatch, IUnknown
public interface _IUccPublicationEvent : IDispatch, IUnknown
public interface class _IUccPublicationEvent : IDispatch, IUnknown
public interface _IUccPublicationEvent extends IDispatch, IUnknown
public interface _IUccPublicationEvent extends IDispatch, IUnknown

Remarks

An application must implement this interface and advise an IUccPublication instance of the implementation to receive the response to an asynchronous Publish request made by the application. This is a dispinterface. Its members define the event handlers for the events raised by 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 _IUccPublicationEvent

Example

The following example is a partial class listing for a class that implements the callback methods of the _IUccPublicationEvent interface.

public partial class UccpAppPublication : _IUccPublicationEvent
{ 
   void _IUccPublicationEvent.OnPublish(IUccPublication publication,
         IUccOperationProgressEvent status)
   {
      // application event handling logic
   }
   // other class methods ...
}

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

_IUccPublicationEvent Members
Microsoft.Office.Interop.UccApi Namespace