QuicStream.Seek(Int64, SeekOrigin) Method

Definition

Sets the current position of the stream to the given value. This method is not currently supported and always throws a NotSupportedException.

C#
public override long Seek(long offset, System.IO.SeekOrigin origin);

Parameters

offset
Int64

A byte offset relative to the origin parameter.

origin
SeekOrigin

A value of type SeekOrigin indicating the reference point used to obtain the new position.

Returns

The new position within the current stream.

Exceptions

In all cases.

Applies to

Product Versions
.NET 7, 8, 9, 10