WriteCountingStream Constructor

Serilog Sinks AmazonS3

Serilog.Sinks.AmazonS3

WriteCountingStream Constructor

Initializes a new instance of the WriteCountingStream class.

Namespace:  Serilog.Sinks.AmazonS3
Assembly:  Serilog.Sinks.AmazonS3 (in Serilog.Sinks.AmazonS3.dll)

Syntax


public WriteCountingStream(
	Stream stream
)
Public Sub New ( _
	stream As Stream _
)
public:
WriteCountingStream(
	Stream^ stream
)

Parameters

stream
Type: Stream
The stream.

Exceptions


ExceptionCondition
ArgumentNullExceptionThe stream is null.