OnlyOnceErrorHandler Constructor (String) | Apache log4net™ SDK Documentation

Constructor

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

C#
VB
C++
F#
Copy

    public OnlyOnceErrorHandler(
    	string prefix
    )

    Public Sub New (
    	prefix As String
    )

    public:
    OnlyOnceErrorHandler(
    	String^ prefix
    )

    new :
            prefix : string -> OnlyOnceErrorHandler

#### Parameters

prefix
  Type: System
  String
  The prefix to use for each message.

Remarks

Initializes a new instance of the OnlyOnceErrorHandler class with the specified prefix.

See Also

#### Reference

OnlyOnceErrorHandler Class
OnlyOnceErrorHandler Overload
log4net.Util Namespace