Execute Method

Glimpse API

ControlCookiePolicy Execute Method Glimpse API Documentation
Executes the specified policy with the given context.

Namespace: Glimpse.Core.Policy
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

public RuntimePolicy Execute(
	IRuntimePolicyContext policyContext
)
public RuntimePolicy Execute(
	IRuntimePolicyContext policyContext
)

Parameters

policyContext
Type: Glimpse.Core.Extensibility IRuntimePolicyContext
The policy context.

Return Value

Off unless the request contains a 'glimpsePolicy' cookie, otherwise the parsed RuntimePolicy of the cookie.

Implements

IRuntimePolicy Execute(IRuntimePolicyContext)
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionException thrown if policyContext is null.
See Also