







Creates a container for a posted file
Namespace:
HttpServer
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public HttpFile( string name, string filename, string contentType ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ name As String, _ filename As String, _ contentType As String _ ) |
| Visual C++ |
|---|
public: HttpFile( String^ name, String^ filename, String^ contentType ) |
Parameters
- name
- Type: System..::.String
The identifier of the post field
- filename
- Type: System..::.String
The file path
- contentType
- Type: System..::.String
The content type of the file
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | If any parameter is null or empty |
