Seek Method

Serilog Sinks AmazonS3

Serilog.Sinks.AmazonS3

WriteCountingStream..::..Seek Method

When overridden in a derived class, sets the position within the current stream.

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

Syntax


public long Seek(
	long offset,
	SeekOrigin origin
)
Public Function Seek ( _
	offset As Long, _
	origin As SeekOrigin _
) As Long
public:
long long^ Seek(
	long long^ offset, 
	SeekOrigin^ origin
)

Parameters

offset
Type: Int64
A byte offset relative to the origin parameter.
origin
Type: SeekOrigin
A value of type SeekOrigin indicating the reference point used to obtain the new position.

Return Value

The new position within the current stream.

Exceptions


ExceptionCondition
[InvalidOperationException]Seek operations are not available through `{nameof(WriteCountingStream)}