HttpResponse.HeadersWritten 属性

定义

获取指示是否已写入响应标头的值。

public:
 property bool HeadersWritten { bool get(); };
public bool HeadersWritten { get; }
member this.HeadersWritten : bool
Public ReadOnly Property HeadersWritten As Boolean

属性值

Boolean

如果已写入响应标头,则为 true;否则为 false

适用于