Sets the timeout property in milliseconds.
The value of this property is assigned to the
ReadWriteTimeout and Timeout properties of the
HTTPWebRequest object used for Amazon S3 GET Object requests.
Specify a timeout value only if certain that
the file will not be retrieved within the default intervals
specified for the 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 TransferUtilityDownloadRequest WithTimeout( int timeout )
Parameters
- timeout (Int32)
- 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