SmartFoxServer Silverlight API
SFSEvent..::.OnJoinRoomErrorDelegate Delegate
NamespacesSmartFoxClientAPISFSEventSFSEvent..::.OnJoinRoomErrorDelegate
Dispatched when an error occurs while joining a room.
This error could happen, for example, if the user is trying to join a room which is currently full.
Declaration Syntax
C#Visual BasicVisual C++
public delegate void OnJoinRoomErrorDelegate(
	string error
)
Public Delegate Sub OnJoinRoomErrorDelegate ( _
	error As String _
)
public delegate void OnJoinRoomErrorDelegate(
	String^ error
)
Parameters
error (String)
the error message.
Remarks

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to handle a potential error in room joining.
CopyC#
SFSEvent.onJoinRoomError += OnJoinRoomError;

smartFox.JoinRoom("The Entrance");

public void OnJoinRoomError(string error)
{
    Debug.WriteLine("Room join error; the following error occurred: " + error);
}
See Also

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