Returns the content asynchronously.
Namespace: DocuWare.Services.Http
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: Version 6.6
Syntax
C#
public static Task<T> ToContent<T>( this Task<DeserializedHttpResponse<T>> response ) where T : class
Parameters
- response
- Type: System.Threading.TasksTaskDeserializedHttpResponseT
Type Parameters
- T
Return Value
Type: TaskTUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type TaskDeserializedHttpResponseT. 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