Редагувати

Поділитися через


MultipartFormDataContent Constructors

Definition

Creates a new instance of the MultipartFormDataContent class.

Overloads

MultipartFormDataContent()

Creates a new instance of the MultipartFormDataContent class.

MultipartFormDataContent(String)

Creates a new instance of the MultipartFormDataContent class.

MultipartFormDataContent()

Source:
MultipartFormDataContent.cs
Source:
MultipartFormDataContent.cs
Source:
MultipartFormDataContent.cs

Creates a new instance of the MultipartFormDataContent class.

public:
 MultipartFormDataContent();
public MultipartFormDataContent ();
Public Sub New ()

Applies to

MultipartFormDataContent(String)

Source:
MultipartFormDataContent.cs
Source:
MultipartFormDataContent.cs
Source:
MultipartFormDataContent.cs

Creates a new instance of the MultipartFormDataContent class.

public:
 MultipartFormDataContent(System::String ^ boundary);
public MultipartFormDataContent (string boundary);
new System.Net.Http.MultipartFormDataContent : string -> System.Net.Http.MultipartFormDataContent
Public Sub New (boundary As String)

Parameters

boundary
String

The boundary string for the multipart form data content.

Exceptions

The boundary was null or contains only white space characters.

-or-

The boundary ends with a space character.

The length of the boundary was greater than 70.

Applies to