Execute Method

Glimpse API

ContentTypePolicy 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

On if the response content type is contained on the white list, otherwise Off.

Implements

IRuntimePolicy Execute(IRuntimePolicyContext)
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionException thrown if policyContext is null.
See Also