SmartFoxServer Silverlight API
SFSEvent..::.OnLogoutDelegate Delegate
NamespacesSmartFoxClientAPISFSEventSFSEvent..::.OnLogoutDelegate
Dispatched when the user logs out successfully.
After a successful logout the user is still connected to the server, but he/she has to login again into a zone, in order to be able to interact with the server.
Declaration Syntax
C#Visual BasicVisual C++
public delegate void OnLogoutDelegate()
Public Delegate Sub OnLogoutDelegate
public delegate void OnLogoutDelegate()
Remarks

Since:
SmartFoxServer Pro v1.5.5

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to handle the "logout" event.
CopyC#
SFSEvent.onLogout += OnLogout;

smartFox.Logout();

public void OnLogout()
{
    Debug.WriteLine("Logged out successfully");
}
See Also

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