SmartFoxServer Unity/.NET 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)
{
    Trace.WriteLine("An error occurred while loading the buddy list: " + error);
}
See Also

Assembly: SmartFoxClient (Module: SmartFoxClient) Version: 1.2.4.0 (1.2.4.0)