ControlCookiePolicy Execute Method | Glimpse API Documentation |
Executes the specified policy with the given context.
Namespace: Glimpse.Core.PolicyAssembly: 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
Exception | Condition |
---|---|
System ArgumentNullException | Exception thrown if policyContext is null. |
See Also