다음을 통해 공유


HttpsRedirectionServicesExtensions.AddHttpsRedirection 메서드

정의

HTTPS 리디렉션 서비스를 추가합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyInjection::IServiceCollection ^ AddHttpsRedirection(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services, Action<Microsoft::AspNetCore::HttpsPolicy::HttpsRedirectionOptions ^> ^ configureOptions);
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddHttpsRedirection (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions> configureOptions);
static member AddHttpsRedirection : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddHttpsRedirection (services As IServiceCollection, configureOptions As Action(Of HttpsRedirectionOptions)) As IServiceCollection

매개 변수

services
IServiceCollection

IServiceCollection 서비스를 추가하기 위한 입니다.

configureOptions
Action<HttpsRedirectionOptions>

HttpsRedirectionOptions를 구성하기 위한 대리자입니다.

반환

적용 대상