Export (0) Print
Expand All

HttpRequest.SaveAs Method

Saves an HTTP request to disk.

[Visual Basic]
Public Sub SaveAs( _
   ByVal filename As String, _
   ByVal includeHeaders As Boolean _
)
[C#]
public void SaveAs(
 string filename,
 bool includeHeaders
);
[C++]
public: void SaveAs(
 String* filename,
 bool includeHeaders
);
[JScript]
public function SaveAs(
   filename : String,
 includeHeaders : Boolean
);

Parameters

filename
The physical drive path.
includeHeaders
A Boolean value specifying whether an HTTP header should be saved to disk.

Remarks

Saving the request context to disk can be useful in debugging.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpRequest Class | HttpRequest Members | System.Web Namespace

Show:
© 2014 Microsoft