Share via


CorsMiddleware Constructor

Namespace:  Microsoft.Owin.Cors
Assembly:  Microsoft.Owin.Cors (in Microsoft.Owin.Cors.dll)

Syntax

'Declaration
Public Sub New ( _
    next As OwinMiddleware, _
    options As CorsOptions _
)
'Usage
Dim next As OwinMiddleware 
Dim options As CorsOptions 

Dim instance As New CorsMiddleware(next, options)
public CorsMiddleware(
    OwinMiddleware next,
    CorsOptions options
)
public:
CorsMiddleware(
    OwinMiddleware^ next, 
    CorsOptions^ options
)
new : 
        next:OwinMiddleware * 
        options:CorsOptions -> CorsMiddleware
public function CorsMiddleware(
    next : OwinMiddleware, 
    options : CorsOptions
)

Parameters

See Also

Reference

CorsMiddleware Class

Microsoft.Owin.Cors Namespace