SmartFoxServer Silverlight API
NewRoomDescriptor..::.ExtensionDescriptor Constructor (name, script)
Namespaces ► SmartFoxClientAPI.Data ► NewRoomDescriptor..::.ExtensionDescriptor ► NewRoomDescriptor..::.ExtensionDescriptor(String, String)
ExtensionDescriptor constructor.
Declaration Syntax

C# | Visual Basic | Visual C++

    public ExtensionDescriptor(
    	string name,
    	string script
    )

    Public Sub New ( _
    	name As String, _
    	script As String _
    )

    public:
    ExtensionDescriptor(
    	String^ name,
    	String^ script
    )

Parameters

name (String)
  the name used to reference the extension (see the SmartFoxServer server-side configuration).

script (String)
  the file name of the extension script (for Actionscript and Python); if Java is used, the fully qualified name of the extension must be provided. The file name is relative to the root of the extension folder ("sfsExtensions/" for Actionscript and Python, "javaExtensions/" for Java).

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