AWS SDK for .NET Documentation
WithAutoCloseStream Method (autoCloseStream)
AmazonAmazon.S3.TransferTransferUtilityUploadRequestWithAutoCloseStream(Boolean) Did this page help you?   Yes   No    Tell us about it...
Sets whether or not the stream used with this request is automatically closed when all of the content is read from the stream and returns this object instance, enabling additional method calls to be chained together.
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 TransferUtilityUploadRequest WithAutoCloseStream(
	bool autoCloseStream
)
Parameters
autoCloseStream (Boolean)
A value of true if the if the stream is automatically closed when all of the content is read from the stream. A value of false if otherwise.
Return Value
This object instance, enabling additional method calls to be chained together.

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