Service.Connect(String, Int32) Method

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Service Class > Service Methods > Connect Method >

Service.Connect(String, Int32) Method

BR.AN.PviServices .NET


Initializes this instance using an existing server with port number.

[Visual Basic]

Public Overridable Overloads Sub Connect( _

  ByVal server As String, _

  ByVal port As Integer _

)

[C#]

public virtual void Connect(

  string server,

  int port

);

Parameters

server

Server name (IP address or computer name for remote connection)

port

Portnumber

Remarks

The Connected event notifies, that the connection was successfully created whereas the "Error" event notifies, that an error has occured.

See Also

Service Class | BR.AN.PviServices Namespace | Service.Connect Overload List


Generated from assembly BR.AN.PviServices [8.1.0.4]