HttpSysOptions.AllowSynchronousIO 属性

定义

控制是否允许 HttpContext.Request.Body 和 HttpContext.Response.Body 同步输入/输出。 默认值为 false

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

属性值

适用于