Microsoft Chat Server SDK Reference

ProtocolMessageOut Method

This method allows an extension to simulate output from the chat server and send protocol messages directly to the user's client application.

Syntax

ChatUser.ProtocolMessageOut(Message)

Parameters

Message
String representing message to be sent to the user on behalf of the chat server. The effect is the same as if the chat server generated the command in response to a user request.

Remarks

An extension could use this method to send a protocol message after canceling a command during a pre-update notification, or when processing an OnConfigureExtension notification.

Protocol messages must be terminated by a carriage return/line feed. Messages are buffered until a CR/LF is received. Failure to add a CR/LF can cause your message to be combined with other messages sent by the server.


© 1998 Microsoft Corporation. All rights reserved.