HeaderDelimitedMessageHandler.WriteCoreAsync 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.
Writes a message to the stream.
protected override System.Threading.Tasks.Task WriteCoreAsync (string content, System.Text.Encoding contentEncoding, System.Threading.CancellationToken cancellationToken);
override this.WriteCoreAsync : string * System.Text.Encoding * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides Function WriteCoreAsync (content As String, contentEncoding As Encoding, cancellationToken As CancellationToken) As Task
Parameters
- content
- String
The message to write.
- contentEncoding
- Encoding
The encoding to use for content
.
- cancellationToken
- CancellationToken
A token to cancel the transmission.
Returns
A task that represents the asynchronous write operation.