OnConnectionState EventOnConnectionState Event*
*Contents  *Index  *Topic Contents
*Previous Topic: OnConnectionError Event
*Next Topic: OnDelMember Event

OnConnectionState Event

Fires after Connect, Login, CancelConnectLogin, and Disconnect calls or when an asynchronous disconnection occurs.

Syntax

object_OnConnectionState(NewConnectionState)

Parameters

objectRequired. An object expression that evaluates to an MsChatPr control.
NewConnectionStateRequired. A variable of enumConnectionState type.

Example

Dim NewConnectionState As enumConnectionState
NewConnectionState = MsChatPr1.ConnectionState

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.