WebOperationContext.CreateXmlResponse Method (XElement)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates an XML formatted message.

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

public Message CreateXmlResponse(
	XElement element
)

Parameters

element
Type: System.Xml.Linq.XElement

The data to write to the message.

Return Value

Type: System.ServiceModel.Channels.Message

An XML formatted message.

.NET Framework
Available since 4.0
Return to top
Show: