HttpRequestBase.SaveAs(String, Boolean) 方法

定义

在派生类中替代时,将 HTTP 请求保存到磁盘。

public:
 virtual void SaveAs(System::String ^ filename, bool includeHeaders);
public virtual void SaveAs (string filename, bool includeHeaders);
abstract member SaveAs : string * bool -> unit
override this.SaveAs : string * bool -> unit
Public Overridable Sub SaveAs (filename As String, includeHeaders As Boolean)

参数

filename
String

物理驱动器路径。

includeHeaders
Boolean

指定是否将 HTTP 标头保存到磁盘的值。

例外

适用于