WebOperationContext.CreateTextResponse Methode

Definitie

Hiermee maakt u een bericht met tekstnotatie.

Overloads

Name Description
CreateTextResponse(String, String, Encoding)

Hiermee maakt u een bericht met tekstnotatie.

CreateTextResponse(String, String)

Hiermee maakt u een bericht met tekstnotatie.

CreateTextResponse(Action<TextWriter>, String, Encoding)

Hiermee maakt u een bericht met tekstnotatie.

CreateTextResponse(String)

Hiermee maakt u een bericht met tekstopmaak.

CreateTextResponse(Action<TextWriter>, String)

Hiermee maakt u een bericht met tekstnotatie.

CreateTextResponse(String, String, Encoding)

Hiermee maakt u een bericht met tekstnotatie.

public:
 System::ServiceModel::Channels::Message ^ CreateTextResponse(System::String ^ text, System::String ^ contentType, System::Text::Encoding ^ encoding);
public System.ServiceModel.Channels.Message CreateTextResponse(string text, string contentType, System.Text.Encoding encoding);
member this.CreateTextResponse : string * string * System.Text.Encoding -> System.ServiceModel.Channels.Message
Public Function CreateTextResponse (text As String, contentType As String, encoding As Encoding) As Message

Parameters

text
String

De tekst die naar het bericht moet worden geschreven.

contentType
String

Het inhoudstype van het bericht.

encoding
Encoding

De codering die moet worden gebruikt.

Retouren

Een bericht met tekstnotatie.

Van toepassing op

CreateTextResponse(String, String)

Hiermee maakt u een bericht met tekstnotatie.

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

Parameters

text
String

De tekst die naar het bericht moet worden geschreven.

contentType
String

Het inhoudstype van het bericht.

Retouren

Een bericht met tekstnotatie.

Van toepassing op

CreateTextResponse(Action<TextWriter>, String, Encoding)

Hiermee maakt u een bericht met tekstnotatie.

public:
 System::ServiceModel::Channels::Message ^ CreateTextResponse(Action<System::IO::TextWriter ^> ^ textWriter, System::String ^ contentType, System::Text::Encoding ^ encoding);
public System.ServiceModel.Channels.Message CreateTextResponse(Action<System.IO.TextWriter> textWriter, string contentType, System.Text.Encoding encoding);
member this.CreateTextResponse : Action<System.IO.TextWriter> * string * System.Text.Encoding -> System.ServiceModel.Channels.Message
Public Function CreateTextResponse (textWriter As Action(Of TextWriter), contentType As String, encoding As Encoding) As Message

Parameters

textWriter
Action<TextWriter>

Een gemachtigde die de tekstgegevens schrijft.

contentType
String

Het inhoudstype van het bericht.

encoding
Encoding

De codering die moet worden gebruikt.

Retouren

Een bericht met tekstnotatie.

Van toepassing op

CreateTextResponse(String)

Hiermee maakt u een bericht met tekstopmaak.

public:
 System::ServiceModel::Channels::Message ^ CreateTextResponse(System::String ^ text);
public System.ServiceModel.Channels.Message CreateTextResponse(string text);
member this.CreateTextResponse : string -> System.ServiceModel.Channels.Message
Public Function CreateTextResponse (text As String) As Message

Parameters

text
String

De tekst die naar het bericht moet worden geschreven.

Retouren

Een bericht met tekstnotatie.

Van toepassing op

CreateTextResponse(Action<TextWriter>, String)

Hiermee maakt u een bericht met tekstnotatie.

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

Parameters

textWriter
Action<TextWriter>

Een gemachtigde die de tekstgegevens schrijft.

contentType
String

Het inhoudstype voor het bericht.

Retouren

Een bericht met tekstnotatie.

Van toepassing op