Custom timeout value (in milliseconds) to set in the HttpWebRequest object used for the request.
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 CopyObjectRequest WithTimeout( int timeout )
Parameters
- timeout (Int32)
- Timeout property
Return Value
this instance
Remarks
A value less than or equal to 0 will be silently ignored
You should only set a custom timeout if you are certain that the file will not be transferred within the default intervals for an HttpWebRequest.
See Also