Export (0) Print
Expand All

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)

'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)

Parameters

hostContext
Type: System.Object

The host context.

Return Value

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