Sets the timeout property in milliseconds
and returns this object instance,
enabling additional method calls to be chained together.
The value of this property is assigned to the
ReadWriteTimeout and Timeout properties of the
HTTPWebRequest object used for Amazon S3 GET Object requests.
Set the timeout only if certain that
the file will not be transferred within the default intervals
for an HttpWebRequest.
Declaration Syntax
C# |
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public TransferUtilityOpenStreamRequest WithTimeout( int timeout )
Parameters
- timeout (Int32)
- The value of the timeout property in milliseconds.
Return Value
This object instance, enabling additional method calls to be chained together.
Remarks
A value less than or equal to 0 will be silently ignored.
See Also