[This is preliminary documentation and is subject to change.]

Writes the specified content.

Namespace: Simple.Web.MediaTypeHandlingSimple.Web.MediaTypeHandlingSimple::Web::MediaTypeHandling
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

Task Write(

IContent content,

Stream outputStream

)

VB

Function Write( _

content As IContent, _

outputStream As Stream _

) As Task

C++

Task^ Write(

IContent^ content,

Stream^ outputStream

)

Parameters

outputStream

Return Value

Type: System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskSystem.Threading.Tasks::Task
A Task that completes when the output has been written.

See Also

IMediaTypeHandlerIMediaTypeHandlerIMediaTypeHandler Interface
Simple.Web.MediaTypeHandlingSimple.Web.MediaTypeHandlingSimple::Web::MediaTypeHandling Namespace