OwinExtensions.UseOwin 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UseOwin(IApplicationBuilder)
將 OWIN 管線新增至指定的 IApplicationBuilder 。
public:
[System::Runtime::CompilerServices::Extension]
static Action<Func<Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^, Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^> ^> ^ UseOwin(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder);
public static Action<Func<Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>,Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>>> UseOwin (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder);
static member UseOwin : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Action<Func<Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>, Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>>>
<Extension()>
Public Function UseOwin (builder As IApplicationBuilder) As Action(Of Func(Of Func(Of IDictionary(Of String, Object), Task), Func(Of IDictionary(Of String, Object), Task)))
參數
- builder
- IApplicationBuilder
要 IApplicationBuilder 加入管線的 。
傳回
用來建立 OWIN 管線的動作。
適用於
UseOwin(IApplicationBuilder, Action<Action<Func<Func<IDictionary<String,Object>,Task>,Func<IDictionary<String,Object>,Task>>>>)
將 OWIN 中介軟體管線新增至指定的 IApplicationBuilder 。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOwin(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder, Action<Action<Func<Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^, Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^> ^> ^> ^ pipeline);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOwin (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Action<Action<Func<Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>,Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>>>> pipeline);
static member UseOwin : Microsoft.AspNetCore.Builder.IApplicationBuilder * Action<Action<Func<Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>, Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>>>> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOwin (builder As IApplicationBuilder, pipeline As Action(Of Action(Of Func(Of Func(Of IDictionary(Of String, Object), Task), Func(Of IDictionary(Of String, Object), Task))))) As IApplicationBuilder
參數
- builder
- IApplicationBuilder
要 IApplicationBuilder 加入中介軟體的 。
- pipeline
- Action<Action<Func<Func<IDictionary<String,Object>,Task>,Func<IDictionary<String,Object>,Task>>>>
可指定 OWIN 管線的委派。
傳回
原始的 IApplicationBuilder。