AWS SDK for .NET Documentation
WithTimeout Method (timeout)
AmazonAmazon.S3.ModelS3RequestWithTimeout(Int32) Did this page help you?   Yes   No    Tell us about it...
Overrides the default HttpWebRequest timeout value.
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 S3Request WithTimeout(
	int timeout
)
Parameters
timeout (Int32)
Timeout property
Return Value
this instance
Remarks

The value of this property (in milliseconds) is assigned to the Timeout property of the HTTPWebRequest object used for S3 GET Object requests.

Please specify a timeout value only if you are certain that the file will not be retrieved within the default intervals specified for an HttpWebRequest.

A value less than or equal to 0 will be silently ignored

See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)