IHostBufferPolicySelector.UseBufferedInputStream Method

Determines whether the host should buffer the HttpRequestMessage entity body.

Namespace:  System.Web.Http.Hosting
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Function UseBufferedInputStream ( _
    hostContext As Object _
) As Boolean
'Usage
Dim instance As IHostBufferPolicySelector 
Dim hostContext As Object 
Dim returnValue As Boolean 

returnValue = instance.UseBufferedInputStream(hostContext)
bool UseBufferedInputStream(
    Object hostContext
)
bool UseBufferedInputStream(
    Object^ hostContext
)
abstract UseBufferedInputStream : 
        hostContext:Object -> bool
function UseBufferedInputStream(
    hostContext : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
true if buffering should be used; otherwise a streamed request should be used.

See Also

Reference

IHostBufferPolicySelector Interface

System.Web.Http.Hosting Namespace