HttpMultipartFormDataContent Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HttpMultipartFormDataContent() |
Initializes a new instance of the HttpMultipartFormDataContent class. |
HttpMultipartFormDataContent(String) |
Initializes a new instance of the HttpMultipartFormDataContent class with the specified boundary string. |
HttpMultipartFormDataContent()
Initializes a new instance of the HttpMultipartFormDataContent class.
public:
HttpMultipartFormDataContent();
HttpMultipartFormDataContent();
public HttpMultipartFormDataContent();
function HttpMultipartFormDataContent()
Public Sub New ()
See also
Applies to
HttpMultipartFormDataContent(String)
Initializes a new instance of the HttpMultipartFormDataContent class with the specified boundary string.
public:
HttpMultipartFormDataContent(Platform::String ^ boundary);
HttpMultipartFormDataContent(winrt::hstring const& boundary);
public HttpMultipartFormDataContent(string boundary);
function HttpMultipartFormDataContent(boundary)
Public Sub New (boundary As String)
Parameters
- boundary
-
String
Platform::String
winrt::hstring
The boundary string for the multipart content.
Remarks
Below are the exceptions that this function throws.
E_INVALIDARG
The boundary parameter is null (Nothing in Visual Basic) or contains only white space characters or the boundary ends with a space character.
The length of the boundary parameter is greater than 70.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro