Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CorsHttpConfigurationExtensions.SetCorsEngine Method (HttpConfiguration, ICorsEngine)

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

<ExtensionAttribute>
Public Shared Sub SetCorsEngine (
	httpConfiguration As HttpConfiguration,
	corsEngine As ICorsEngine
)

Parameters

httpConfiguration
Type: System.Web.Http.HttpConfiguration

The HttpConfiguration.

corsEngine
Type: System.Web.Cors.ICorsEngine

The ICorsEngine.

Exception Condition
ArgumentNullException

httpConfiguration or corsEngine

Return to top
Show: