| 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.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.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code