Gets or sets a value that specifies the amount of time after which the underlying Socket Send call will time out.
Syntax
Visual Basic (Declaration) | |
---|
Public Property SendTimeout As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SocketOption
Dim value As Integer
instance.SendTimeout = value
value = instance.SendTimeout |
C# | |
---|
public int SendTimeout {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_SendTimeout();
public: __property void set_SendTimeout(
int value
); |
C++/CLI | |
---|
public:
property int SendTimeout {
int get();
void set ( int value);
} |
Property Value
The time-out value in milliseconds. The default value is 0, which indicates an infinite time-out period.
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also