ZennoLab Assemblies Documentation
Instance Constructor
Example 

Type: System.String

A string expression that evaluates to the URL.

Type: System.Int32

The port of the instance.

Type: System.String

This parameter can take the following values​​: "debug" and "server". The default value is "server".

Initialize a new instance of the Instance class
Syntax
public Instance( 
   string url,
   int port,
   string address
)

Parameters

url

Type: System.String

A string expression that evaluates to the URL.

port

Type: System.Int32

The port of the instance.

address

Type: System.String

This parameter can take the following values​​: "debug" and "server". The default value is "server".

Example
The following example creates an Instance object
// create a new instance
Instance instance = new Instance("127.0.0.1", 40500, "server");
// create a new instance
$instance = new Instance("127.0.0.1", 40500, "server");
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

Instance Class
Instance Members

Send Feedback