ICorsPolicyProviderFactory.GetCorsPolicyProvider Method (HttpRequestMessage)
Gets the ICorsPolicyProvider for the request.
Namespace: System.Web.Http.Cors
Assembly: System.Web.Http.Cors (in System.Web.Http.Cors.dll)
Syntax
ICorsPolicyProvider GetCorsPolicyProvider(
HttpRequestMessage request
)
ICorsPolicyProvider^ GetCorsPolicyProvider(
HttpRequestMessage^ request
)
abstract GetCorsPolicyProvider :
request:HttpRequestMessage -> ICorsPolicyProvider
Function GetCorsPolicyProvider (
request As HttpRequestMessage
) As ICorsPolicyProvider
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request.
Return Value
Type: System.Web.Http.Cors.ICorsPolicyProvider
The ICorsPolicyProvider.
See Also
ICorsPolicyProviderFactory Interface
System.Web.Http.Cors Namespace
Return to top