| Visual Basic (Declaration) | |
|---|---|
<CategoryAttribute("Behavior")> <DefaultValueAttribute()> Public Property Timeout As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Imap Dim value As Integer instance.Timeout = value value = instance.Timeout | |
| C# | |
|---|---|
[CategoryAttribute("Behavior")] [DefaultValueAttribute()] public int Timeout {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
[CategoryAttribute("Behavior")] [DefaultValueAttribute()] public: __property int get_Timeout(); public: __property void set_Timeout( int value ); | |
| C++/CLI | |
|---|---|
[CategoryAttribute("Behavior")] [DefaultValueAttribute()] 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.Gets or sets the time a client should wait for a reply from the IMAP server. When commands are not executing, the connection will be kept open without the possibility of timeout.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code