| MailTarget Constructor (String) |
Initializes a new instance of the
MailTarget class.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public MailTarget(
string name
)
Public Sub New (
name As String
)
Dim name As String
Dim instance As New MailTarget(name)
new :
name : string -> MailTarget
Parameters
- name
- Type: SystemString
Name of the target.
Remarks
The default value of the layout is:
1${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
See Also