XmlSerializableExtensionsReadAsXmlSerializableT Method (HttpContent)DocuWare Platform .NET API
Reads the message body as XML.

Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.6
Syntax

C#
public static T ReadAsXmlSerializable<T>(
	this HttpContent content
)

Parameters

content
Type: System.Net.HttpHttpContent
The content.

Type Parameters

T

Return Value

Type: T
The deserialized response.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type HttpContent. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference