IOwinResponse.WriteAsync Method (String, CancellationToken)
Writes information to a response asynchronously.
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Function WriteAsync ( _
text As String, _
token As CancellationToken _
) As Task
'Usage
Dim instance As IOwinResponse
Dim text As String
Dim token As CancellationToken
Dim returnValue As Task
returnValue = instance.WriteAsync(text, _
token)
Task WriteAsync(
string text,
CancellationToken token
)
Task^ WriteAsync(
String^ text,
CancellationToken token
)
abstract WriteAsync :
text:string *
token:CancellationToken -> Task
function WriteAsync(
text : String,
token : CancellationToken
) : Task
Parameters
- text
Type: System.String
The text value.
- token
Type: System.Threading.CancellationToken
The token.
Return Value
Type: System.Threading.Tasks.Task
The information to write.