Share via


IDisplayMode.CanHandleContext Method

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Indicates a value whether the web pages can handle HTTP context.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Function CanHandleContext ( _
    httpContext As HttpContextBase _
) As Boolean
'Usage
Dim instance As IDisplayMode 
Dim httpContext As HttpContextBase 
Dim returnValue As Boolean 

returnValue = instance.CanHandleContext(httpContext)
bool CanHandleContext(
    HttpContextBase httpContext
)
bool CanHandleContext(
    HttpContextBase^ httpContext
)
abstract CanHandleContext : 
        httpContext:HttpContextBase -> bool
function CanHandleContext(
    httpContext : HttpContextBase
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the web pages can handle HTTP context; otherwise, false.

See Also

Reference

IDisplayMode Interface

System.Web.WebPages Namespace