Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebOperationContext.CreateTextResponse Method (String)

.NET Framework 4.6 and 4.5

Creates a text formatted response message.

Namespace:  System.ServiceModel.Web
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public Message CreateTextResponse(
	string text


Type: System.String

The text to write to the message.

Return Value

Type: System.ServiceModel.Channels.Message
A text formatted message.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft