MethodInvocationCreateDeserializedResponseTResponse Method (TaskHttpResponseMessage)DocuWare Platform .NET API
Creates the deserialized response.

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

C#
public static Task<DeserializedHttpResponse<TResponse>> CreateDeserializedResponse<TResponse>(
	this Task<HttpResponseMessage> response
)
where TResponse : class

Parameters

response
Type: System.Threading.TasksTaskHttpResponseMessage
The response.

Type Parameters

TResponse
The type of the response.

Return Value

Type: TaskDeserializedHttpResponseTResponse
A task executing the request and returning the response.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TaskHttpResponseMessage. 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