UdpAppender InitializeClientConnection Method | Apache log4net™ SDK Documentation

Initializes the underlying UdpClient connection.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    protected virtual void InitializeClientConnection()

    Protected Overridable Sub InitializeClientConnection

    protected:
    virtual void InitializeClientConnection()

    abstract InitializeClientConnection : unit -> unit
    override InitializeClientConnection : unit -> unit

Remarks

The underlying UdpClient is initialized and binds to the port number from which you intend to communicate.

Exceptions are passed to the ErrorHandler.

See Also

#### Reference

UdpAppender Class
log4net.Appender Namespace