SmartFoxServer Silverlight API
SFSEvent..::.OnPublicMessageDelegate Delegate
NamespacesSmartFoxClientAPISFSEventSFSEvent..::.OnPublicMessageDelegate
Dispatched when a public chat message is received.
Declaration Syntax
C#Visual BasicVisual 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

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