IXmlMtomWriterInitializer.SetOutput Méthode

Définition

En cas d’implémentation par un enregistreur MTOM, initialise un enregistreur MTOM.

public:
 void SetOutput(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, int maxSizeInBytes, System::String ^ startInfo, System::String ^ boundary, System::String ^ startUri, bool writeMessageHeaders, bool ownsStream);
public void SetOutput(System.IO.Stream stream, System.Text.Encoding encoding, int maxSizeInBytes, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream);
abstract member SetOutput : System.IO.Stream * System.Text.Encoding * int * string * string * string * bool * bool -> unit
Public Sub SetOutput (stream As Stream, encoding As Encoding, maxSizeInBytes As Integer, startInfo As String, boundary As String, startUri As String, writeMessageHeaders As Boolean, ownsStream As Boolean)

Paramètres

stream
Stream

Flux dans lequel écrire.

encoding
Encoding

Encodage de caractères du flux.

maxSizeInBytes
Int32

Nombre maximal d’octets mis en mémoire tampon dans l’enregistreur.

startInfo
String

Attribut dans l’en-tête SOAP ContentType, défini sur « Application/soap+xml ».

boundary
String

Chaîne de limite MIME.

startUri
String

URI de la section MIME.

writeMessageHeaders
Boolean

Si true, écrivez des en-têtes de message.

ownsStream
Boolean

true pour indiquer que le flux est fermé par l’enregistreur lorsque vous avez terminé ; sinon, false.

S’applique à