WebOperationContext.CreateStreamResponse Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un messaggio formattato nel flusso.
Overload
| Nome | Descrizione |
|---|---|
| CreateStreamResponse(Action<Stream>, String) |
Crea un messaggio formattato nel flusso. |
| CreateStreamResponse(Stream, String) |
Crea un messaggio formattato nel flusso. |
| CreateStreamResponse(StreamBodyWriter, String) |
Crea un messaggio formattato nel flusso. |
CreateStreamResponse(Action<Stream>, String)
Crea un messaggio formattato nel flusso.
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
Parametri
- contentType
- String
Tipo di contenuto per il messaggio.
Valori restituiti
Messaggio formattato nel flusso.
Si applica a
CreateStreamResponse(Stream, String)
Crea un messaggio formattato nel flusso.
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
Parametri
- stream
- Stream
Flusso contenente i dati da scrivere nel flusso.
- contentType
- String
Tipo di contenuto del messaggio.
Valori restituiti
Messaggio formattato nel flusso.
Si applica a
CreateStreamResponse(StreamBodyWriter, String)
Crea un messaggio formattato nel flusso.
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
Parametri
- bodyWriter
- StreamBodyWriter
Writer del corpo del flusso contenente i dati da scrivere nel messaggio.
- contentType
- String
Tipo di contenuto del messaggio.
Valori restituiti
Messaggio formattato nel flusso.