Share via


UccContainerMembershipEvent Constructor

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.

Initializes a new instance of the UccContainerMembershipEvent Class .

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

Syntax

'Declaration
Protected Sub New
protected UccContainerMembershipEvent ()
protected:
UccContainerMembershipEvent ()
protected UccContainerMembershipEvent ()
protected function UccContainerMembershipEvent ()

Remarks

As an abstract class, UccContainerMembershipEvent does not expose a callable constructor. Instead, a client must handle container membership events such as OnContainerAdded to obtain an instance of this class.

Example

The following example handles the OnContainerAdded event and uses the provided UccContainerMembershipEvent class instance to display the added container Id on a local users's system console.

void _IUccContainerMemberEvents.OnContainerAdded(
   IUccContainerMember pMember, 
   UccContainerMembershipEvent pEvent)
{
   Console.WriteLine(pEvent.Container.Id.ToString());
}

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

UccContainerMembershipEvent Class
UccContainerMembershipEvent Members
Microsoft.Office.Interop.UccApi Namespace