Share via


ICorsEngine.EvaluatePolicy Method (CorsRequestContext, CorsPolicy)

 

Evaluates the policy.

Namespace:   System.Web.Cors
Assembly:  System.Web.Cors (in System.Web.Cors.dll)

Syntax

CorsResult EvaluatePolicy(
    CorsRequestContext requestContext,
    CorsPolicy policy
)
CorsResult^ EvaluatePolicy(
    CorsRequestContext^ requestContext,
    CorsPolicy^ policy
)
abstract EvaluatePolicy : 
        requestContext:CorsRequestContext *
        policy:CorsPolicy -> CorsResult
Function EvaluatePolicy (
    requestContext As CorsRequestContext,
    policy As CorsPolicy
) As CorsResult

Parameters

Return Value

Type: System.Web.Cors.CorsResult

The CorsResult

See Also

ICorsEngine Interface
System.Web.Cors Namespace

Return to top