PowerTCP Mail for .NET
Timeout Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Pop Class : Timeout Property




Specifies the maximum number of milliseconds to wait for responses to commands or time between data buffer transfers.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("Gets or Sets the timeout value (in milliseconds) to use for receiving server responses.")>
<DefaultValueAttribute()>
<CategoryAttribute("Behavior")>
Public Property Timeout As Integer
Visual Basic (Usage)Copy Code
Dim instance As Pop
Dim value As Integer
 
instance.Timeout = value
 
value = instance.Timeout
C# 
[DescriptionAttribute("Gets or Sets the timeout value (in milliseconds) to use for receiving server responses.")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public int Timeout {get; set;}
Managed Extensions for C++ 
[DescriptionAttribute("Gets or Sets the timeout value (in milliseconds) to use for receiving server responses.")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public: __property int get_Timeout();
public: __property void set_Timeout( 
   int value
);
C++/CLI 
[DescriptionAttribute("Gets or Sets the timeout value (in milliseconds) to use for receiving server responses.")]
[DefaultValueAttribute()]
[CategoryAttribute("Behavior")]
public:
property int Timeout {
   int get();
   void set (    int value);
}

Property Value

An integer specifying the maximum number of milliseconds to wait for responses to commands.

Remarks

After connecting to a server, this value is used to establish the period of time to wait for server responses. During data transfer operations, a SocketException will be thrown if any data buffer transfer operation does not complete within the timeout period.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.