ConnectionContext.Abort 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Abort() |
中止基礎連線。 |
Abort(ConnectionAbortedException) |
中止基礎連線。 |
Abort()
中止基礎連線。
public:
virtual void Abort();
public:
override void Abort();
public virtual void Abort ();
public override void Abort ();
abstract member Abort : unit -> unit
override this.Abort : unit -> unit
override this.Abort : unit -> unit
Public Overridable Sub Abort ()
Public Overrides Sub Abort ()
適用於
Abort(ConnectionAbortedException)
中止基礎連線。
public:
virtual void Abort(Microsoft::AspNetCore::Connections::ConnectionAbortedException ^ abortReason);
public:
override void Abort(Microsoft::AspNetCore::Connections::ConnectionAbortedException ^ abortReason);
public virtual void Abort (Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason);
public override void Abort (Microsoft.AspNetCore.Connections.ConnectionAbortedException abortReason);
abstract member Abort : Microsoft.AspNetCore.Connections.ConnectionAbortedException -> unit
override this.Abort : Microsoft.AspNetCore.Connections.ConnectionAbortedException -> unit
override this.Abort : Microsoft.AspNetCore.Connections.ConnectionAbortedException -> unit
Public Overridable Sub Abort (abortReason As ConnectionAbortedException)
Public Overrides Sub Abort (abortReason As ConnectionAbortedException)
參數
- abortReason
- ConnectionAbortedException
, ConnectionAbortedException 描述連接終止的原因。