SmartFoxServer Silverlight API
SFSEvent..::.OnAdminMessageDelegate Delegate
NamespacesSmartFoxClientAPISFSEventSFSEvent..::.OnAdminMessageDelegate
Dispatched when a message from the Administrator is received.
Admin messages are special messages that can be sent by an Administrator to a user or group of users.
Declaration Syntax
C#Visual BasicVisual C++
public delegate void OnAdminMessageDelegate(
	string message
)
Public Delegate Sub OnAdminMessageDelegate ( _
	message As String _
)
public delegate void OnAdminMessageDelegate(
	String^ message
)
Parameters
message (String)
the Administrator's message
Remarks

All client applications should handle this event, or users won't be be able to receive important admin notifications!

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to handle a message coming from the Administrator.
CopyC#
SFSEvent.onAdminMessage += OnAdminMessage;

public void OnAdminMessage(string message)
{
    Debug.WriteLine("Administrator said: " + message);
}
See Also

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