LEADTOOLS (Leadtools.Logging assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
SysLogLoggingChannel Constructor(String,Int32)
See Also 
Leadtools.Logging.LoggingChannel Namespace > SysLogLoggingChannel Class > SysLogLoggingChannel Constructor : SysLogLoggingChannel Constructor(String,Int32)



hostname
The syslog server hostname.
port
The syslog server port.
Initializes a new instance of the SysLogLoggingChannel class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal hostname As String, _
   ByVal port As Integer _
)
Visual Basic (Usage)Copy Code
Dim hostname As String
Dim port As Integer
 
Dim instance As New SysLogLoggingChannel(hostname, port)
C# 
public SysLogLoggingChannel( 
   string hostname,
   int port
)
C++/CLI 
public:
SysLogLoggingChannel( 
   String^ hostname,
   int port
)

Parameters

hostname
The syslog server hostname.
port
The syslog server port.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Logging requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features