GlobalDefaultTimeout Property |
Gets or sets the default timeout value (in milliseconds)
of all MailBee classes which allow the developer to set timeout value.
Namespace: MailBeeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public static int DefaultTimeout { get; set; }
Public Shared Property DefaultTimeout As Integer
Get
Set
Property Value
Type:
Int32An 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).
Exceptions Remarks If set to zero, the default timeout setting will be "wait indefinitely".
Note |
---|
DefaultTimeout field has no effect on UDP timeout default value (UdpTimeout property). |
See Also