MultipartContent MultipartContent MultipartContent MultipartContent Constructors

Definizione

Overload

MultipartContent() MultipartContent() MultipartContent()

Crea una nuova istanza della classe MultipartContent.Creates a new instance of the MultipartContent class.

MultipartContent(String) MultipartContent(String) MultipartContent(String) MultipartContent(String)

Crea una nuova istanza della classe MultipartContent.Creates a new instance of the MultipartContent class.

MultipartContent(String, String) MultipartContent(String, String) MultipartContent(String, String) MultipartContent(String, String)

Crea una nuova istanza della classe MultipartContent.Creates a new instance of the MultipartContent class.

MultipartContent() MultipartContent() MultipartContent()

Crea una nuova istanza della classe MultipartContent.Creates a new instance of the MultipartContent class.

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

MultipartContent(String) MultipartContent(String) MultipartContent(String) MultipartContent(String)

Crea una nuova istanza della classe MultipartContent.Creates a new instance of the MultipartContent class.

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

Parametri

subtype
String String String String

Sottotipo del contenuto multiparte.The subtype of the multipart content.

Eccezioni

subtype era null o contiene solo spazi vuoti.The subtype was null or contains only white space characters.

MultipartContent(String, String) MultipartContent(String, String) MultipartContent(String, String) MultipartContent(String, String)

Crea una nuova istanza della classe MultipartContent.Creates a new instance of the MultipartContent class.

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

Parametri

subtype
String String String String

Sottotipo del contenuto multiparte.The subtype of the multipart content.

boundary
String String String String

La stringa limite per il contenuto a più parti.The boundary string for the multipart content.

Eccezioni

Il parametro subtype era null o una stringa vuota.The subtype was null or an empty string.

boundary era null o contiene solo spazi vuoti.The boundary was null or contains only white space characters.

-oppure--or- boundary termina con un spazio.The boundary ends with a space character.

La lunghezza di boundary era maggiore di 70.The length of the boundary was greater than 70.

Si applica a