Constructor MultipartFormDataKeyValuePair
- Namespace
- DotNetBrowser.Net
- Assembly
- DotNetBrowser.dll
MultipartFormDataKeyValuePair(string, FileValue)
Creates an instance from the given key and value.
public MultipartFormDataKeyValuePair(string key, FileValue value)
Parameters
keystringThe form content segment key.
valueFileValueThe segment value representing the file content.
Exceptions
- ArgumentException
The
keyis null or empty. /> is null.- ArgumentNullException
The
valueis null.
MultipartFormDataKeyValuePair(string, string)
Creates an instance from the given key and value.
public MultipartFormDataKeyValuePair(string key, string value)
Parameters
keystringThe form content segment key.
valuestringThe segment value representing the form content segment value. Can be empty if the
keydoes not correspond to any value. For example, an empty form field
Exceptions
- ArgumentException
The
keyis null or empty. /> is null.- ArgumentNullException
The
valueis null.