Freigeben über


OwinFeatureCollection Klasse

Definition

OWIN-Featuresammlung.

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
Vererbung
OwinFeatureCollection
Implementiert

Konstruktoren

OwinFeatureCollection(IDictionary<String,Object>)

Initialisiert eine neue Instanz von OwinFeatureCollection.

Eigenschaften

Environment

Dient zum Abrufen oder Festlegen von OWIN-Umgebungswerten.

IsReadOnly

Gibt an, ob die Auflistung geändert werden kann.

Item[Type]

Ruft ein bestimmtes Feature ab oder legt dieses fest. Wenn Sie einen NULL-Wert festlegen, wird das Feature entfernt.

Revision

Erhöht für jede Änderung und kann verwendet werden, um zwischengespeicherte Ergebnisse zu überprüfen.

SupportsWebSockets

Ruft ab oder legt fest, ob der zugrunde liegende Server WebSockets unterstützt. Dies ist standardmäßig aktiviert. Der Wert sollte für alle Anforderungen konsistent sein.

Methoden

Dispose()

OWIN-Featuresammlung.

Get(Type)

OWIN-Featuresammlung.

Get<TFeature>()

Ruft das angeforderte Feature aus der Auflistung ab.

GetEnumerator()

OWIN-Featuresammlung.

Set(Type, Object)

OWIN-Featuresammlung.

Set<TFeature>(TFeature)

Legt das angegebene Feature in der Auflistung fest.

Explizite Schnittstellenimplementierungen

IEnumerable.GetEnumerator()

OWIN-Featuresammlung.

IHttpAuthenticationFeature.Handler

OWIN-Featuresammlung.

IHttpAuthenticationFeature.User

OWIN-Featuresammlung.

IHttpConnectionFeature.ConnectionId

OWIN-Featuresammlung.

IHttpConnectionFeature.LocalIpAddress

OWIN-Featuresammlung.

IHttpConnectionFeature.LocalPort

OWIN-Featuresammlung.

IHttpConnectionFeature.RemoteIpAddress

OWIN-Featuresammlung.

IHttpConnectionFeature.RemotePort

OWIN-Featuresammlung.

IHttpRequestFeature.Body

OWIN-Featuresammlung.

IHttpRequestFeature.Headers

OWIN-Featuresammlung.

IHttpRequestFeature.Method

OWIN-Featuresammlung.

IHttpRequestFeature.Path

OWIN-Featuresammlung.

IHttpRequestFeature.PathBase

OWIN-Featuresammlung.

IHttpRequestFeature.Protocol

OWIN-Featuresammlung.

IHttpRequestFeature.QueryString

OWIN-Featuresammlung.

IHttpRequestFeature.RawTarget

OWIN-Featuresammlung.

IHttpRequestFeature.Scheme

OWIN-Featuresammlung.

IHttpRequestIdentifierFeature.TraceIdentifier

OWIN-Featuresammlung.

IHttpRequestLifetimeFeature.Abort()

OWIN-Featuresammlung.

IHttpRequestLifetimeFeature.RequestAborted

OWIN-Featuresammlung.

IHttpResponseBodyFeature.CompleteAsync()

OWIN-Featuresammlung.

IHttpResponseBodyFeature.DisableBuffering()

OWIN-Featuresammlung.

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

OWIN-Featuresammlung.

IHttpResponseBodyFeature.StartAsync(CancellationToken)

OWIN-Featuresammlung.

IHttpResponseBodyFeature.Stream

OWIN-Featuresammlung.

IHttpResponseBodyFeature.Writer

OWIN-Featuresammlung.

IHttpResponseFeature.Body

OWIN-Featuresammlung.

IHttpResponseFeature.HasStarted

OWIN-Featuresammlung.

IHttpResponseFeature.Headers

OWIN-Featuresammlung.

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

OWIN-Featuresammlung.

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

OWIN-Featuresammlung.

IHttpResponseFeature.ReasonPhrase

OWIN-Featuresammlung.

IHttpResponseFeature.StatusCode

OWIN-Featuresammlung.

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

OWIN-Featuresammlung.

IHttpWebSocketFeature.AcceptAsync(WebSocketAcceptContext)

OWIN-Featuresammlung.

IHttpWebSocketFeature.IsWebSocketRequest

OWIN-Featuresammlung.

ITlsConnectionFeature.ClientCertificate

OWIN-Featuresammlung.

ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken)

OWIN-Featuresammlung.

Erweiterungsmethoden

GetRequiredFeature(IFeatureCollection, Type)

Ruft das angeforderte Feature aus der Auflistung ab. Löst eine InvalidOperationException aus, wenn das Feature nicht vorhanden ist.

GetRequiredFeature<TFeature>(IFeatureCollection)

Ruft das angeforderte Feature aus der Auflistung ab. Löst eine InvalidOperationException aus, wenn das Feature nicht vorhanden ist.

Gilt für: