OwinFeatureCollection クラス

定義

OWIN 機能コレクション。

public ref class OwinFeatureCollection : Microsoft::AspNetCore::Http::Features::Authentication::IHttpAuthenticationFeature, Microsoft::AspNetCore::Http::Features::IFeatureCollection, Microsoft::AspNetCore::Http::Features::IHttpConnectionFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestIdentifierFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestLifetimeFeature, Microsoft::AspNetCore::Http::Features::IHttpResponseFeature, Microsoft::AspNetCore::Http::Features::IHttpSendFileFeature, Microsoft::AspNetCore::Http::Features::IHttpWebSocketFeature, Microsoft::AspNetCore::Http::Features::ITlsConnectionFeature, Microsoft::AspNetCore::Owin::IOwinEnvironmentFeature, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Type ^, System::Object ^>>
public ref class OwinFeatureCollection : Microsoft::AspNetCore::Http::Features::Authentication::IHttpAuthenticationFeature, Microsoft::AspNetCore::Http::Features::IFeatureCollection, Microsoft::AspNetCore::Http::Features::IHttpConnectionFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestIdentifierFeature, Microsoft::AspNetCore::Http::Features::IHttpRequestLifetimeFeature, Microsoft::AspNetCore::Http::Features::IHttpResponseBodyFeature, Microsoft::AspNetCore::Http::Features::IHttpResponseFeature, Microsoft::AspNetCore::Http::Features::IHttpWebSocketFeature, Microsoft::AspNetCore::Http::Features::ITlsConnectionFeature, Microsoft::AspNetCore::Owin::IOwinEnvironmentFeature, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Type ^, System::Object ^>>
public class OwinFeatureCollection : Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature, Microsoft.AspNetCore.Http.Features.IFeatureCollection, Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature, Microsoft.AspNetCore.Http.Features.IHttpResponseFeature, Microsoft.AspNetCore.Http.Features.IHttpSendFileFeature, Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature, Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature, Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Type,object>>
public class OwinFeatureCollection : Microsoft.AspNetCore.Http.Features.Authentication.IHttpAuthenticationFeature, Microsoft.AspNetCore.Http.Features.IFeatureCollection, Microsoft.AspNetCore.Http.Features.IHttpConnectionFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestIdentifierFeature, Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature, Microsoft.AspNetCore.Http.Features.IHttpResponseBodyFeature, Microsoft.AspNetCore.Http.Features.IHttpResponseFeature, Microsoft.AspNetCore.Http.Features.IHttpWebSocketFeature, Microsoft.AspNetCore.Http.Features.ITlsConnectionFeature, Microsoft.AspNetCore.Owin.IOwinEnvironmentFeature, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Type,object>>
type OwinFeatureCollection = class
    interface IFeatureCollection
    interface seq<KeyValuePair<Type, obj>>
    interface IEnumerable
    interface IHttpRequestFeature
    interface IHttpResponseFeature
    interface IHttpConnectionFeature
    interface IHttpSendFileFeature
    interface ITlsConnectionFeature
    interface IHttpRequestIdentifierFeature
    interface IHttpRequestLifetimeFeature
    interface IHttpAuthenticationFeature
    interface IHttpWebSocketFeature
    interface IOwinEnvironmentFeature
type OwinFeatureCollection = class
    interface IFeatureCollection
    interface seq<KeyValuePair<Type, obj>>
    interface IEnumerable
    interface IHttpRequestFeature
    interface IHttpResponseFeature
    interface IHttpResponseBodyFeature
    interface IHttpConnectionFeature
    interface ITlsConnectionFeature
    interface IHttpRequestIdentifierFeature
    interface IHttpRequestLifetimeFeature
    interface IHttpAuthenticationFeature
    interface IHttpWebSocketFeature
    interface IOwinEnvironmentFeature
Public Class OwinFeatureCollection
Implements IEnumerable(Of KeyValuePair(Of Type, Object)), IFeatureCollection, IHttpAuthenticationFeature, IHttpConnectionFeature, IHttpRequestFeature, IHttpRequestIdentifierFeature, IHttpRequestLifetimeFeature, IHttpResponseFeature, IHttpSendFileFeature, IHttpWebSocketFeature, IOwinEnvironmentFeature, ITlsConnectionFeature
Public Class OwinFeatureCollection
Implements IEnumerable(Of KeyValuePair(Of Type, Object)), IFeatureCollection, IHttpAuthenticationFeature, IHttpConnectionFeature, IHttpRequestFeature, IHttpRequestIdentifierFeature, IHttpRequestLifetimeFeature, IHttpResponseBodyFeature, IHttpResponseFeature, IHttpWebSocketFeature, IOwinEnvironmentFeature, ITlsConnectionFeature
継承
OwinFeatureCollection
実装

コンストラクター

OwinFeatureCollection(IDictionary<String,Object>)

OwinFeatureCollection の新しいインスタンスを初期化します。

プロパティ

Environment

OWIN 環境の値を取得または設定します。

IsReadOnly

コレクションを変更できるかどうかを示します。

Item[Type]

特定の機能を取得または設定します。 null 値を設定すると、機能が削除されます。

Revision

変更ごとにインクリメントされ、キャッシュされた結果を確認するために使用できます。

SupportsWebSockets

基になるサーバーが WebSocket をサポートしているかどうかを取得または設定します。 この機能は、既定では有効になっています。 値は、要求間で一貫している必要があります。

メソッド

Dispose()

OWIN 機能コレクション。

Get(Type)

OWIN 機能コレクション。

Get<TFeature>()

コレクションから要求された機能を取得します。

GetEnumerator()

OWIN 機能コレクション。

Set(Type, Object)

OWIN 機能コレクション。

Set<TFeature>(TFeature)

コレクション内の指定された機能を設定します。

明示的なインターフェイスの実装

IEnumerable.GetEnumerator()

OWIN 機能コレクション。

IHttpAuthenticationFeature.Handler

OWIN 機能コレクション。

IHttpAuthenticationFeature.User

OWIN 機能コレクション。

IHttpConnectionFeature.ConnectionId

OWIN 機能コレクション。

IHttpConnectionFeature.LocalIpAddress

OWIN 機能コレクション。

IHttpConnectionFeature.LocalPort

OWIN 機能コレクション。

IHttpConnectionFeature.RemoteIpAddress

OWIN 機能コレクション。

IHttpConnectionFeature.RemotePort

OWIN 機能コレクション。

IHttpRequestFeature.Body

OWIN 機能コレクション。

IHttpRequestFeature.Headers

OWIN 機能コレクション。

IHttpRequestFeature.Method

OWIN 機能コレクション。

IHttpRequestFeature.Path

OWIN 機能コレクション。

IHttpRequestFeature.PathBase

OWIN 機能コレクション。

IHttpRequestFeature.Protocol

OWIN 機能コレクション。

IHttpRequestFeature.QueryString

OWIN 機能コレクション。

IHttpRequestFeature.RawTarget

OWIN 機能コレクション。

IHttpRequestFeature.Scheme

OWIN 機能コレクション。

IHttpRequestIdentifierFeature.TraceIdentifier

OWIN 機能コレクション。

IHttpRequestLifetimeFeature.Abort()

OWIN 機能コレクション。

IHttpRequestLifetimeFeature.RequestAborted

OWIN 機能コレクション。

IHttpResponseBodyFeature.CompleteAsync()

OWIN 機能コレクション。

IHttpResponseBodyFeature.DisableBuffering()

OWIN 機能コレクション。

IHttpResponseBodyFeature.SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)

OWIN 機能コレクション。

IHttpResponseBodyFeature.StartAsync(CancellationToken)

OWIN 機能コレクション。

IHttpResponseBodyFeature.Stream

OWIN 機能コレクション。

IHttpResponseBodyFeature.Writer

OWIN 機能コレクション。

IHttpResponseFeature.Body

OWIN 機能コレクション。

IHttpResponseFeature.HasStarted

OWIN 機能コレクション。

IHttpResponseFeature.Headers

OWIN 機能コレクション。

IHttpResponseFeature.OnCompleted(Func<Object,Task>, Object)

OWIN 機能コレクション。

IHttpResponseFeature.OnStarting(Func<Object,Task>, Object)

OWIN 機能コレクション。

IHttpResponseFeature.ReasonPhrase

OWIN 機能コレクション。

IHttpResponseFeature.StatusCode

OWIN 機能コレクション。

IHttpSendFileFeature.SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken)

OWIN 機能コレクション。

IHttpWebSocketFeature.AcceptAsync(WebSocketAcceptContext)

OWIN 機能コレクション。

IHttpWebSocketFeature.IsWebSocketRequest

OWIN 機能コレクション。

ITlsConnectionFeature.ClientCertificate

OWIN 機能コレクション。

ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken)

OWIN 機能コレクション。

拡張メソッド

GetRequiredFeature(IFeatureCollection, Type)

要求された機能をコレクションから再取得します。 機能が InvalidOperationException 存在しない場合は、 をスローします。

GetRequiredFeature<TFeature>(IFeatureCollection)

要求された機能をコレクションから再取得します。 機能が InvalidOperationException 存在しない場合は、 をスローします。

適用対象