Dela via


BaseConnectionContext.Abort Method

Definition

Overloads

Abort()

Aborts the underlying connection.

Abort(ConnectionAbortedException)

Aborts the underlying connection.

Abort()

Source:
BaseConnectionContext.cs
Source:
BaseConnectionContext.cs
Source:
BaseConnectionContext.cs
Source:
BaseConnectionContext.cs
Source:
BaseConnectionContext.cs

Aborts the underlying connection.

public:
 abstract void Abort();
public abstract void Abort ();
abstract member Abort : unit -> unit
Public MustOverride Sub Abort ()

Applies to

Abort(ConnectionAbortedException)

Source:
BaseConnectionContext.cs
Source:
BaseConnectionContext.cs
Source:
BaseConnectionContext.cs
Source:
BaseConnectionContext.cs
Source:
BaseConnectionContext.cs

Aborts the underlying connection.

public:
 abstract void Abort(Microsoft::AspNetCore::Connections::ConnectionAbortedException ^ abortReason);
public abstract void Abort (Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason);
abstract member Abort : Microsoft.AspNetCore.Connections.ConnectionAbortedException -> unit
Public MustOverride Sub Abort (abortReason As ConnectionAbortedException)

Parameters

abortReason
ConnectionAbortedException

A ConnectionAbortedException describing the reason the connection is being terminated.

Applies to