SyslogBinding Constructor
Namespace: Rebex.Net
Assembly: Rebex.Syslog.dll (version 7.0.9083)
SyslogBinding(Int32, SyslogTransportProtocol, SyslogFraming)
Initializes new SyslogBinding instance.
Declaration
public SyslogBinding(int port, SyslogTransportProtocol protocol, SyslogFraming framing = SyslogFraming.AutoDetect)
Parameters
Type | Name | Description |
---|---|---|
Int32 | port | Endpoint. |
SyslogTransportProtocol | protocol | Syslog transport protocol. |
SyslogFraming | framing | Syslog message transfer framing (default is Octet Counting). |
SyslogBinding(EndPoint, SyslogTransportProtocol, SyslogFraming)
Initializes new SyslogBinding instance.
Declaration
public SyslogBinding(EndPoint ep, SyslogTransportProtocol protocol, SyslogFraming framing = SyslogFraming.AutoDetect)
Parameters
Type | Name | Description |
---|---|---|
EndPoint | ep | Endpoint. |
SyslogTransportProtocol | protocol | Syslog transport protocol. |
SyslogFraming | framing | Syslog message transfer framing (default is Octet Counting). |