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: 11.2.0 build 590 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