編輯

共用方式為


HttpContextBase.ThreadAbortOnTimeout Property

Definition

When implemented in a derived class, gets or sets a value that specifies whether the ASP.NET runtime should call Abort() on the thread that is servicing this request when the request times out.

public:
 virtual property bool ThreadAbortOnTimeout { bool get(); void set(bool value); };
public virtual bool ThreadAbortOnTimeout { get; set; }
member this.ThreadAbortOnTimeout : bool with get, set
Public Overridable Property ThreadAbortOnTimeout As Boolean

Property Value

true if Abort() will be called when the thread times out; otherwise, false. The default is true.

Remarks

For more information, see HttpContext.ThreadAbortOnTimeout.

Applies to