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
requestContext
Type: System.Web.Cors.CorsRequestContextThe CorsRequestContext.
policy
Type: System.Web.Cors.CorsPolicyThe CorsPolicy.
Return Value
Type: System.Web.Cors.CorsResult
The CorsResult
See Also
ICorsEngine Interface
System.Web.Cors Namespace
Return to top