SmartFoxServer Silverlight API
LoadConfig Method
NamespacesSmartFoxClientAPISmartFoxClientLoadConfig()()()
Members
IconMemberDescription
LoadConfig()()()
LoadConfig(String)
LoadConfig(String, Boolean)
Load a client configuration file.
The SmartFoxClient instance can be configured through an external xml configuration file loaded at run-time.
By default, the LoadConfig method loads a file named "config.xml", placed in the same folder of the application file.
If the autoConnect parameter is set to true, on loading completion the Connect(String, Int32) method is automatically called by the API, otherwise the SFSEvent..::.OnConfigLoadSuccessDelegate event is dispatched.
In case of loading error, the SFSEvent..::.OnConfigLoadFailureDelegate event id fired.

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