CorsMiddleware 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy)
- Source:
- CorsMiddleware.cs
- Source:
- CorsMiddleware.cs
주의
This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory
새 CorsMiddleware을 인스턴스화합니다.
public:
CorsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Cors::Infrastructure::ICorsService ^ corsService, Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicy ^ policy);
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy);
[System.Obsolete("This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory")]
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
[<System.Obsolete("This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory")>]
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
Public Sub New (next As RequestDelegate, corsService As ICorsService, policy As CorsPolicy)
매개 변수
- next
- RequestDelegate
파이프라인의 다음 미들웨어입니다.
- corsService
- ICorsService
ICorsService의 인스턴스입니다.
- policy
- CorsPolicy
적용할 수 있는 의 CorsPolicy instance.
- 특성
적용 대상
CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider)
- Source:
- CorsMiddleware.cs
- Source:
- CorsMiddleware.cs
주의
This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory
새 CorsMiddleware을 인스턴스화합니다.
public:
CorsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Cors::Infrastructure::ICorsService ^ corsService, Microsoft::AspNetCore::Cors::Infrastructure::ICorsPolicyProvider ^ policyProvider);
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider);
[System.Obsolete("This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory")]
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
[<System.Obsolete("This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory")>]
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
Public Sub New (next As RequestDelegate, corsService As ICorsService, policyProvider As ICorsPolicyProvider)
매개 변수
- next
- RequestDelegate
파이프라인의 다음 미들웨어입니다.
- corsService
- ICorsService
ICorsService의 인스턴스입니다.
- policyProvider
- ICorsPolicyProvider
를 가져올 수 있는 정책 공급자입니다 CorsPolicy.
- 특성
적용 대상
CorsMiddleware(RequestDelegate, ICorsService, ILoggerFactory)
- Source:
- CorsMiddleware.cs
새 CorsMiddleware을 인스턴스화합니다.
public:
CorsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Cors::Infrastructure::ICorsService ^ corsService, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
Public Sub New (next As RequestDelegate, corsService As ICorsService, loggerFactory As ILoggerFactory)
매개 변수
- next
- RequestDelegate
파이프라인의 다음 미들웨어입니다.
- corsService
- ICorsService
ICorsService의 인스턴스입니다.
- loggerFactory
- ILoggerFactory
ILoggerFactory의 인스턴스입니다.
적용 대상
CorsMiddleware(RequestDelegate, ICorsService, CorsPolicy, ILoggerFactory)
- Source:
- CorsMiddleware.cs
- Source:
- CorsMiddleware.cs
새 CorsMiddleware을 인스턴스화합니다.
public:
CorsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Cors::Infrastructure::ICorsService ^ corsService, Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicy ^ policy, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy policy, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
Public Sub New (next As RequestDelegate, corsService As ICorsService, policy As CorsPolicy, loggerFactory As ILoggerFactory)
매개 변수
- next
- RequestDelegate
파이프라인의 다음 미들웨어입니다.
- corsService
- ICorsService
ICorsService의 인스턴스입니다.
- policy
- CorsPolicy
적용할 수 있는 의 CorsPolicy instance.
- loggerFactory
- ILoggerFactory
ILoggerFactory의 인스턴스입니다.
적용 대상
CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory)
- Source:
- CorsMiddleware.cs
새 CorsMiddleware을 인스턴스화합니다.
public:
CorsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Cors::Infrastructure::ICorsService ^ corsService, Microsoft::AspNetCore::Cors::Infrastructure::ICorsPolicyProvider ^ policyProvider, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
Public Sub New (next As RequestDelegate, corsService As ICorsService, policyProvider As ICorsPolicyProvider, loggerFactory As ILoggerFactory)
매개 변수
- next
- RequestDelegate
파이프라인의 다음 미들웨어입니다.
- corsService
- ICorsService
ICorsService의 인스턴스입니다.
- policyProvider
- ICorsPolicyProvider
를 가져올 수 있는 정책 공급자입니다 CorsPolicy.
- loggerFactory
- ILoggerFactory
ILoggerFactory의 인스턴스입니다.
적용 대상
CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, String)
- Source:
- CorsMiddleware.cs
- Source:
- CorsMiddleware.cs
주의
This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory
새 CorsMiddleware을 인스턴스화합니다.
public:
CorsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Cors::Infrastructure::ICorsService ^ corsService, Microsoft::AspNetCore::Cors::Infrastructure::ICorsPolicyProvider ^ policyProvider, System::String ^ policyName);
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider, string policyName);
[System.Obsolete("This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory")]
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider, string policyName);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider * string -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
[<System.Obsolete("This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory")>]
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider * string -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
Public Sub New (next As RequestDelegate, corsService As ICorsService, policyProvider As ICorsPolicyProvider, policyName As String)
매개 변수
- next
- RequestDelegate
파이프라인의 다음 미들웨어입니다.
- corsService
- ICorsService
ICorsService의 인스턴스입니다.
- policyProvider
- ICorsPolicyProvider
를 가져올 수 있는 정책 공급자입니다 CorsPolicy.
- policyName
- String
가져올 정책의 선택적 이름입니다.
- 특성
적용 대상
CorsMiddleware(RequestDelegate, ICorsService, ILoggerFactory, String)
- Source:
- CorsMiddleware.cs
새 CorsMiddleware을 인스턴스화합니다.
public:
CorsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Cors::Infrastructure::ICorsService ^ corsService, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::String ^ policyName);
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, string policyName);
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, string? policyName);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.Extensions.Logging.ILoggerFactory * string -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
Public Sub New (next As RequestDelegate, corsService As ICorsService, loggerFactory As ILoggerFactory, policyName As String)
매개 변수
- next
- RequestDelegate
파이프라인의 다음 미들웨어입니다.
- corsService
- ICorsService
ICorsService의 인스턴스입니다.
- loggerFactory
- ILoggerFactory
ILoggerFactory의 인스턴스입니다.
- policyName
- String
가져올 정책의 선택적 이름입니다.
적용 대상
CorsMiddleware(RequestDelegate, ICorsService, ICorsPolicyProvider, ILoggerFactory, String)
- Source:
- CorsMiddleware.cs
새 CorsMiddleware을 인스턴스화합니다.
public:
CorsMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Cors::Infrastructure::ICorsService ^ corsService, Microsoft::AspNetCore::Cors::Infrastructure::ICorsPolicyProvider ^ policyProvider, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::String ^ policyName);
public CorsMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Cors.Infrastructure.ICorsService corsService, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider policyProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, string policyName);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Cors.Infrastructure.ICorsService * Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider * Microsoft.Extensions.Logging.ILoggerFactory * string -> Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware
Public Sub New (next As RequestDelegate, corsService As ICorsService, policyProvider As ICorsPolicyProvider, loggerFactory As ILoggerFactory, policyName As String)
매개 변수
- next
- RequestDelegate
파이프라인의 다음 미들웨어입니다.
- corsService
- ICorsService
ICorsService의 인스턴스입니다.
- policyProvider
- ICorsPolicyProvider
를 가져올 수 있는 정책 공급자입니다 CorsPolicy.
- loggerFactory
- ILoggerFactory
ILoggerFactory의 인스턴스입니다.
- policyName
- String
가져올 정책의 선택적 이름입니다.