log4net SDK Reference |

# OnlyOnceErrorHandler Constructor (String)

Constructor

[Visual Basic]
Overloads Public Sub New( _
ByVal prefix As String _
)
[C#]
public OnlyOnceErrorHandler(
string prefix
);

#### Parameters

prefix
  The prefix to use for each message.

#### Remarks

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

#### See Also

OnlyOnceErrorHandler Class | log4net.Util Namespace | OnlyOnceErrorHandler Constructor Overload List