SmartFoxServer Silverlight API
SFSEvent..::.OnRoomLeftDelegate Delegate
Namespaces ► SmartFoxClientAPI ► SFSEvent ► SFSEvent..::.OnRoomLeftDelegate
Dispatched when a room is left in multi-room mode, in response of a LeaveRoom(Int32) request.
Declaration Syntax

C# | Visual Basic | Visual C++

    public delegate void OnRoomLeftDelegate(
    	int roomId
    )

    Public Delegate Sub OnRoomLeftDelegate ( _
    	roomId As Integer _
    )

    public delegate void OnRoomLeftDelegate(
    	int roomId
    )

Parameters

roomId (Int32)
  the id of the room that was left.

Remarks

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to handle the "room left" event.
CopyC#

    SFSEvent.onRoomLeft += OnRoomLeft;

    public void OnRoomLeft(int roomId)
    {
        Debug.WriteLine("You left room " + roomId);
    }

See Also
LeaveRoom(Int32)

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