Partilhar via


CorsMiddleware.Invoke Método

Definição

Sobrecargas

Invoke(HttpContext)
Invoke(HttpContext, ICorsPolicyProvider)

Invoke(HttpContext)

Origem:
CorsMiddleware.cs
Origem:
CorsMiddleware.cs
System.Object.Invoke(Microsoft.AspNetCore.Http.HttpContext)
public:
 System::Threading::Tasks::Task ^ Invoke(Microsoft::AspNetCore::Http::HttpContext ^ context);
public System.Threading.Tasks.Task Invoke (Microsoft.AspNetCore.Http.HttpContext context);
member this.Invoke : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Function Invoke (context As HttpContext) As Task

Parâmetros

context
HttpContext

Retornos

Aplica-se a

Invoke(HttpContext, ICorsPolicyProvider)

Origem:
CorsMiddleware.cs
System.Object.Invoke(Microsoft.AspNetCore.Http.HttpContext,Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider)
public:
 System::Threading::Tasks::Task ^ Invoke(Microsoft::AspNetCore::Http::HttpContext ^ context, Microsoft::AspNetCore::Cors::Infrastructure::ICorsPolicyProvider ^ corsPolicyProvider);
public System.Threading.Tasks.Task Invoke (Microsoft.AspNetCore.Http.HttpContext context, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider corsPolicyProvider);
member this.Invoke : Microsoft.AspNetCore.Http.HttpContext * Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider -> System.Threading.Tasks.Task
Public Function Invoke (context As HttpContext, corsPolicyProvider As ICorsPolicyProvider) As Task

Parâmetros

context
HttpContext
corsPolicyProvider
ICorsPolicyProvider

Retornos

Aplica-se a