CreateXmlResponse(T) Method (T)

WebOperationContext.CreateXmlResponse<T> Method (T)

.NET Framework (current version)
 

Creates an XML formatted message.

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

public Message CreateXmlResponse<T>(
	T instance
)

Parameters

instance
Type: T

The object to write to write to the message.

Return Value

Type: System.ServiceModel.Channels.Message

An XML formatted message.

Type Parameters

T

The type of object to write to the message.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft