MultipartFormDataContent Construtores

Definição

Cria uma nova instância da classe MultipartFormDataContent.Creates a new instance of the MultipartFormDataContent class.

Sobrecargas

MultipartFormDataContent()

Cria uma nova instância da classe MultipartFormDataContent.Creates a new instance of the MultipartFormDataContent class.

MultipartFormDataContent(String)

Cria uma nova instância da classe MultipartFormDataContent.Creates a new instance of the MultipartFormDataContent class.

MultipartFormDataContent()

Cria uma nova instância da classe MultipartFormDataContent.Creates a new instance of the MultipartFormDataContent class.

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

MultipartFormDataContent(String)

Cria uma nova instância da classe MultipartFormDataContent.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)

Parâmetros

boundary
String

A cadeia de caracteres de limite para o conteúdo de dados de formulário de várias partes.The boundary string for the multipart form data content.

Exceções

O boundary era null ou contém somente caracteres de espaço em branco.The boundary was null or contains only white space characters.

- ou --or- O boundary termina com um caractere de espaço.The boundary ends with a space character.

O comprimento do boundary era maior que 70.The length of the boundary was greater than 70.

Aplica-se a