DefaultConnectionContext.Abort 方法

定义

重载

Abort()
Abort(ConnectionAbortedException)

中止基础连接。

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 ()

实现

适用于

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

中止基础连接。

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)

参数

abortReason
ConnectionAbortedException

描述 ConnectionAbortedException 终止连接的原因的 。

适用于