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.GetCorsPolicyProviderFactory Method (HttpConfiguration)
Gets the ICorsPolicyProviderFactory from the HttpConfiguration.
Assembly: System.Web.Http.Cors (in System.Web.Http.Cors.dll)
<ExtensionAttribute> Public Shared Function GetCorsPolicyProviderFactory ( httpConfiguration As HttpConfiguration ) As ICorsPolicyProviderFactory
Parameters
- httpConfiguration
-
Type:
System.Web.Http.HttpConfiguration
The HttpConfiguration.
| Exception | Condition |
|---|---|
| ArgumentNullException | httpConfiguration |
Show: