LoggerSyncRoot Property
Gets or sets the object to be used for synchronized access to the log file.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public Object SyncRoot { get; set; }

Property Value

Type: Object
A reference to the object to be used for synchronized access to the log file.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).
Remarks
The developer may need to set this value if the application is multi-threaded and there are multiple instances of MailBee components which attempt to write to the same log file. In this case, SyncRoot should be set to the same object reference for all such instances of MailBee components.
See Also