Share via


DefaultConnectionContext.Abort Method

Definition

Overloads

Abort()
Abort(ConnectionAbortedException)

Aborts the underlying connection.

Abort()

Source:
DefaultConnectionContext.cs
public:
 virtual void Abort();
public virtual void Abort ();
abstract member Abort : unit -> unit
override this.Abort : unit -> unit
Public Overridable Sub Abort ()

Implements

Applies to

Abort(ConnectionAbortedException)

Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs
Source:
DefaultConnectionContext.cs

Aborts the underlying connection.

public:
 override void Abort(Microsoft::AspNetCore::Connections::ConnectionAbortedException ^ abortReason);
public override void Abort (Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason);
override this.Abort : Microsoft.AspNetCore.Connections.ConnectionAbortedException -> unit
Public Overrides Sub Abort (abortReason As ConnectionAbortedException)

Parameters

abortReason
ConnectionAbortedException

A ConnectionAbortedException describing the reason the connection is being terminated.

Applies to