SmartFoxServer Silverlight API
SmartFoxClient Constructor (debug)
Namespaces ► SmartFoxClientAPI ► SmartFoxClient ► SmartFoxClient(Boolean)
The SmartFoxClient contructor.
Declaration Syntax

C# | Visual Basic | Visual C++

    public SmartFoxClient(
    	bool debug
    )

    Public Sub New ( _
    	debug As Boolean _
    )

    public:
    SmartFoxClient(
    	bool debug
    )

Parameters

debug (Boolean)
  turn on the debug messages (optional).

Examples
The following example shows how to instantiate the SmartFoxClient class enabling the debug messages.
CopyC#

    SmartFoxServer smartFox = new SmartFoxServer(true);

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