Creates a container for a posted file HttpFile(String, String, String, String)
Namespace:
HttpServerAssembly: 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
[Missing <param name="name"/> documentation for "M:HttpServer.HttpFile.#ctor(System.String,System.String,System.String)"]
- filename
- Type: System..::.String
[Missing <param name="filename"/> documentation for "M:HttpServer.HttpFile.#ctor(System.String,System.String,System.String)"]
- contentType
- Type: System..::.String
[Missing <param name="contentType"/> documentation for "M:HttpServer.HttpFile.#ctor(System.String,System.String,System.String)"]
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | If any parameter is null or empty |