SmartFoxServer Silverlight API
SFSEvent..::.OnPublicMessageDelegate Delegate
Namespaces ► SmartFoxClientAPI ► SFSEvent ► SFSEvent..::.OnPublicMessageDelegate
Dispatched when a public chat message is received.
Declaration Syntax

C# | Visual Basic | Visual C++

    public delegate void OnPublicMessageDelegate(
    	string message,
    	User sender,
    	int roomId
    )

    Public Delegate Sub OnPublicMessageDelegate ( _
    	message As String, _
    	sender As User, _
    	roomId As Integer _
    )

    public delegate void OnPublicMessageDelegate(
    	String^ message,
    	User^ sender,
    	int roomId
    )

Parameters

message (String)
  the public message received.

sender (User)
  the User object representing the user that sent the message.

roomId (Int32)
  the id of the room where the sender is.

Remarks

Version:
SmartFoxServer Basic / Pro

See Also
SFSEvent..::.OnPrivateMessageDelegate
User
SendPublicMessage(String, Int32)

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)