ZennoLab Assemblies Documentation
Instance Constructor
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > Instance Class : Instance Constructor
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".

Glossary Item Box

Initialize a new instance of the Instance class

Syntax

C# 
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
C#Copy Code
// create a new instance
Instance instance = new Instance("127.0.0.1", 40500, "server");
PHPCopy Code
// 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

See Also

© 2013 All Rights Reserved.