Execute Method

Glimpse API

UriPolicy 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 request Uri is contained not matched in the black list, otherwise Off.

Implements

IRuntimePolicy Execute(IRuntimePolicyContext)
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionException thrown if policyContext is null.
See Also