MultipartSectionStreamExtensions.ReadAsStringAsync Method      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| ReadAsStringAsync(MultipartSection) | 
						 Reads the body of the section as a string  | 
        	
| ReadAsStringAsync(MultipartSection, CancellationToken) | 
						 Reads the body of the section as a string  | 
        	
ReadAsStringAsync(MultipartSection)
Reads the body of the section as a string
public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<System::String ^> ^ ReadAsStringAsync(Microsoft::AspNetCore::WebUtilities::MultipartSection ^ section);
	public static System.Threading.Tasks.Task<string> ReadAsStringAsync(this Microsoft.AspNetCore.WebUtilities.MultipartSection section);
	static member ReadAsStringAsync : Microsoft.AspNetCore.WebUtilities.MultipartSection -> System.Threading.Tasks.Task<string>
	<Extension()>
Public Function ReadAsStringAsync (section As MultipartSection) As Task(Of String)
	Parameters
- section
 - MultipartSection
 
The section to read from
Returns
The body steam as string
Applies to
ReadAsStringAsync(MultipartSection, CancellationToken)
Reads the body of the section as a string
public static System.Threading.Tasks.ValueTask<string> ReadAsStringAsync(this Microsoft.AspNetCore.WebUtilities.MultipartSection section, System.Threading.CancellationToken cancellationToken);
	static member ReadAsStringAsync : Microsoft.AspNetCore.WebUtilities.MultipartSection * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<string>
	<Extension()>
Public Function ReadAsStringAsync (section As MultipartSection, cancellationToken As CancellationToken) As ValueTask(Of String)
	Parameters
- section
 - MultipartSection
 
The section to read from
- cancellationToken
 - CancellationToken
 
The cancellationt token.
Returns
The body steam as string