 | MailTargetTimeout Property |
Gets or sets a value indicating the SMTP client timeout.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic Layout<int> Timeout { get; set; }
Public Property Timeout As Layout(Of Integer)
Get
Set
Dim instance As MailTarget
Dim value As Layout(Of Integer)
value = instance.Timeout
instance.Timeout = value
member Timeout : Layout<int> with get, set
Property Value
Type:
LayoutInt32
RemarksWarning: zero is not infinite waiting
See Also