Bewerken

Delen via


IMsTscAxEvents::OnConnecting method

Called when the client control begins connecting to a server in response to a call to IMsTscAx::Connect.

Syntax

void OnConnecting();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

Implement this method in your event sink to receive notification that the control has begun connecting.

Examples

The following example shows how to handle this event with Visual Basic Scripting code. The assumption in this example is that your control object is named "MsRdpClient".

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Sub MsRdpClient.OnConnecting()
    Msgbox("Connecting")
End sub

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IMsTscAxEvents is defined as 336d5562-efa8-482e-8cb3-c5c0fc7a7db6

See also

IMsTscAxEvents