Partager via


HttpContent.ReadAsStringAsync Method

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Function ReadAsStringAsync As Task(Of String)
'Usage
Dim instance As HttpContent 
Dim returnValue As Task(Of String)

returnValue = instance.ReadAsStringAsync()
public Task<string> ReadAsStringAsync()
public:
Task<String^>^ ReadAsStringAsync()
member ReadAsStringAsync : unit -> Task<string> 
public function ReadAsStringAsync() : Task<String>

Return Value

Type: System.Threading.Tasks.Task<String>

See Also

Reference

HttpContent Class

System.Net.Http Namespace