IStreamAbortFeature.AbortWrite(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 write side of the connection stream.
public void AbortWrite (long errorCode, Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason);
abstract member AbortWrite : int64 * Microsoft.AspNetCore.Connections.ConnectionAbortedException -> unit
Public Sub AbortWrite (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 write side of the connection stream.