Compartir a través de


WebOperationContext.CreateStreamResponse Método

Definición

Crea un mensaje con formato de flujo.

Sobrecargas

CreateStreamResponse(Action<Stream>, String)

Crea un mensaje con formato de flujo.

CreateStreamResponse(Stream, String)

Crea un mensaje con formato de flujo.

CreateStreamResponse(StreamBodyWriter, String)

Crea un mensaje con formato de flujo.

CreateStreamResponse(Action<Stream>, String)

Crea un mensaje con formato de flujo.

public:
 System::ServiceModel::Channels::Message ^ CreateStreamResponse(Action<System::IO::Stream ^> ^ streamWriter, System::String ^ contentType);
public System.ServiceModel.Channels.Message CreateStreamResponse (Action<System.IO.Stream> streamWriter, string contentType);
member this.CreateStreamResponse : Action<System.IO.Stream> * string -> System.ServiceModel.Channels.Message
Public Function CreateStreamResponse (streamWriter As Action(Of Stream), contentType As String) As Message

Parámetros

streamWriter
Action<Stream>

Sistema de escritura de secuencias que contiene los datos que se van a escribir en la secuencia.

contentType
String

El tipo de contenido del mensaje.

Devoluciones

Message

Mensaje con formato de flujo.

Se aplica a

CreateStreamResponse(Stream, String)

Crea un mensaje con formato de flujo.

public:
 System::ServiceModel::Channels::Message ^ CreateStreamResponse(System::IO::Stream ^ stream, System::String ^ contentType);
public System.ServiceModel.Channels.Message CreateStreamResponse (System.IO.Stream stream, string contentType);
member this.CreateStreamResponse : System.IO.Stream * string -> System.ServiceModel.Channels.Message
Public Function CreateStreamResponse (stream As Stream, contentType As String) As Message

Parámetros

stream
Stream

La secuencia que contiene los datos que se van a escribir en la secuencia.

contentType
String

El tipo de contenido del mensaje.

Devoluciones

Message

Mensaje con formato de flujo.

Se aplica a

CreateStreamResponse(StreamBodyWriter, String)

Crea un mensaje con formato de flujo.

public:
 System::ServiceModel::Channels::Message ^ CreateStreamResponse(System::ServiceModel::Channels::StreamBodyWriter ^ bodyWriter, System::String ^ contentType);
public System.ServiceModel.Channels.Message CreateStreamResponse (System.ServiceModel.Channels.StreamBodyWriter bodyWriter, string contentType);
member this.CreateStreamResponse : System.ServiceModel.Channels.StreamBodyWriter * string -> System.ServiceModel.Channels.Message
Public Function CreateStreamResponse (bodyWriter As StreamBodyWriter, contentType As String) As Message

Parámetros

bodyWriter
StreamBodyWriter

Objeto de escritura de cuerpos de secuencias que contiene los datos que se van a escribir en el mensaje.

contentType
String

El tipo de contenido del mensaje.

Devoluciones

Message

Mensaje con formato de flujo.

Se aplica a