SmartFoxServer Silverlight API
SFSEvent..::.OnDebugMessageDelegate Delegate
NamespacesSmartFoxClientAPISFSEventSFSEvent..::.OnDebugMessageDelegate
Dispatched when a debug message is traced by the SmartFoxServer API.
In order to receive this event you have to previously set the debug flag to true.
Declaration Syntax
C#Visual BasicVisual C++
public delegate void OnDebugMessageDelegate(
	string message
)
Public Delegate Sub OnDebugMessageDelegate ( _
	message As String _
)
public delegate void OnDebugMessageDelegate(
	String^ message
)
Parameters
message (String)
the debug message.
Remarks

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to handle a SmartFoxServer API debug message.
CopyC#
SFSEvent.onDebugMessage += OnDebugMessage;

smartFox.debug = true;

public void OnDebugMessage(string message)
{
    Debug.WriteLine("[SFS DEBUG] " + message);
}
See Also

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