Contents Index Topic Contents | ||
Previous Topic: OnInvitation Event Next Topic: OnMemberKicked Event |
OnKnock Event
Fires when a user failed to enter a channel.
Syntax
object_OnKnock(Channel, KnockerItems, ErrorCode)
Parameters
object Required. An object expression that evaluates to an MsChatPr control. Channel Required. An object expression that evaluates to a Channel object. KnockerItems Required. An object expression that evaluates to a ChatItems object. ErrorCode Required. A long integer value that indicates why the user could not join the channel. Examples are that the channel is full, the channel is invite-only, or a channel Keyword is set. Remarks
Only the hosts of the channel receive this notification. Also, the notification occurs only if the cmKnock flag is set for that channel.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.