次の方法で共有


SessionMiddlewareExtensions.UseSession メソッド

定義

オーバーロード

UseSession(IApplicationBuilder)

SessionMiddlewareを追加して、アプリケーションのセッション状態を自動的に有効にします。

UseSession(IApplicationBuilder, SessionOptions)

SessionMiddlewareを追加して、アプリケーションのセッション状態を自動的に有効にします。

UseSession(IApplicationBuilder)

ソース:
SessionMiddlewareExtensions.cs
ソース:
SessionMiddlewareExtensions.cs
ソース:
SessionMiddlewareExtensions.cs

SessionMiddlewareを追加して、アプリケーションのセッション状態を自動的に有効にします。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseSession(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSession (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseSession : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseSession (app As IApplicationBuilder) As IApplicationBuilder

パラメーター

戻り値

IApplicationBuilder

適用対象

UseSession(IApplicationBuilder, SessionOptions)

ソース:
SessionMiddlewareExtensions.cs
ソース:
SessionMiddlewareExtensions.cs
ソース:
SessionMiddlewareExtensions.cs

SessionMiddlewareを追加して、アプリケーションのセッション状態を自動的に有効にします。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseSession(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::SessionOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseSession (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.SessionOptions options);
static member UseSession : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.SessionOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseSession (app As IApplicationBuilder, options As SessionOptions) As IApplicationBuilder

パラメーター

戻り値

IApplicationBuilder

適用対象