SmartFoxServer Silverlight API
SFSEvent..::.OnBuddyListErrorDelegate Delegate
NamespacesSmartFoxClientAPISFSEventSFSEvent..::.OnBuddyListErrorDelegate
Dispatched when an error occurs while loading the buddy list.
Declaration Syntax
C#Visual BasicVisual C++
public delegate void OnBuddyListErrorDelegate(
	string error
)
Public Delegate Sub OnBuddyListErrorDelegate ( _
	error As String _
)
public delegate void OnBuddyListErrorDelegate(
	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 buddy list loading.
CopyC#
SFSEvent.onBuddyListError += OnBuddyListError;

public void OnBuddyListError(string error)
{
    Debug.WriteLine("An error occurred while loading the buddy list: " + error);
}
See Also

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