Microsoft Chat Server SDK Reference

IChatChannelCallBack::OnRemoveMember

This method is called whenever a chat user leaves or is removed from the associated channel.

Syntax

C/C++:
HRESULT OnRemoveMember(
   IChatChannel *Channel,
   IChatUser *User);
Visual Basic:
Sub IChatChannelCallBack_OnRemoveMember( _
   ByVal Channel As CHATSVCLib.IChatChannel, _
   ByVal User As CHATSVCLib.IChatUser)

Parameters

Channel
Reference to ChatChannel object from which the user is leaving.
User
Reference to ChatUser object representing user that is being removed.

Remarks

There is no way to cancel this event. The notification is sent after the member has been removed.

When this channel property changes, the OnChannelPropertyChanged method is not called. Extensions interested in the OnRemoveMember event must register for explicit notification.


© 1998 Microsoft Corporation. All rights reserved.