SmartFoxServer Silverlight API
SFSEvent..::.OnLogoutDelegate Delegate
Namespaces ► SmartFoxClientAPI ► SFSEvent ► SFSEvent..::.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 Basic | Visual 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
SFSEvent..::.OnLoginDelegate
Logout()()()

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