HttpContextHelper Class
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Contains methods that are used to execute an action delegate in a nulla null reference (Nothing in Visual Basic) context.
Inheritance Hierarchy
System.Object
Microsoft.Web.Infrastructure.HttpContextHelper
Namespace: Microsoft.Web.Infrastructure
Assembly: Microsoft.Web.Infrastructure (in Microsoft.Web.Infrastructure.dll)
Syntax
'Declaration
Public NotInheritable Class HttpContextHelper
'Usage
public static class HttpContextHelper
public ref class HttpContextHelper abstract sealed
[<>]
[<>]
type HttpContextHelper = class end
public final class HttpContextHelper
The HttpContextHelper type exposes the following members.
Methods
Name | Description | |
---|---|---|
ExecuteInNullContext | Infrastructure. Sets the HTTP context to a null reference (Nothing in Visual Basic), executes the specified action delegate, and then restores the previous HTTP context. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.