GlobalDefaultTimeout Property
Gets or sets the default timeout value (in milliseconds) of all MailBee classes which allow the developer to set timeout value.

Namespace: MailBee
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
public static int DefaultTimeout { get; set; }

Property Value

Type: Int32
An integer value which will be used as an initial value of Timeout property during creating instances of any MailBee class which implements Timeout property. The default value is 20000 (20 seconds).
MailBeeInvalidArgumentExceptionvalue is negative.
If set to zero, the default timeout setting will be "wait indefinitely".
Note Note
DefaultTimeout field has no effect on UDP timeout default value (UdpTimeout property).
See Also