Redigera

Dela via


SslStream.Seek(Int64, SeekOrigin) Method

Definition

public:
 override long Seek(long offset, System::IO::SeekOrigin origin);
public override long Seek (long offset, System.IO.SeekOrigin origin);
override this.Seek : int64 * System.IO.SeekOrigin -> int64
Public Overrides Function Seek (offset As Long, origin As SeekOrigin) As Long

Parameters

offset
Int64

This value is ignored.

origin
SeekOrigin

This value is ignored.

Returns

Always throws a NotSupportedException.

Exceptions

Seeking is not supported by SslStream objects.

Remarks

Do not call this method. It is inherited, but is not supported by the SslStream class.

Applies to