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 HttpResponseMessage httpResponseMessage )
Parameters
- httpResponseMessage
- Type: System.Net.HttpHttpResponseMessage
The HTTP response message.
Type Parameters
- T
Return Value
Type: TThe deserialized response.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type HttpResponseMessage. 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