Dela via


IStreamAbortFeature.AbortWrite(Int64, ConnectionAbortedException) Method

Definition

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.

Applies to