IStreamAbortFeature.AbortRead(Int64, ConnectionAbortedException) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Abort the read side of the connection stream.
public void AbortRead (long errorCode, Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason);
abstract member AbortRead : int64 * Microsoft.AspNetCore.Connections.ConnectionAbortedException -> unit
Public Sub AbortRead (errorCode As Long, abortReason As ConnectionAbortedException)
Parameters
- errorCode
- Int64
The error code to send with the abort.
- abortReason
- ConnectionAbortedException
A ConnectionAbortedException describing the reason to abort the read side of the connection stream.