OwinFeatureCollection Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Colección de características de 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
- Herencia
-
OwinFeatureCollection
- Implementaciones
-
IHttpAuthenticationFeature IFeatureCollection IHttpConnectionFeature IHttpRequestFeature IHttpRequestIdentifierFeature IHttpRequestLifetimeFeature IHttpResponseFeature IHttpSendFileFeature IHttpWebSocketFeature ITlsConnectionFeature IOwinEnvironmentFeature IEnumerable<KeyValuePair<Type,Object>> IEnumerable IHttpResponseBodyFeature
Constructores
OwinFeatureCollection(IDictionary<String,Object>) |
Inicializa una nueva instancia de OwinFeatureCollection. |
Propiedades
Environment |
Obtiene o establece valores de entorno de OWIN. |
IsReadOnly |
Indica si se puede modificar la colección. |
Item[Type] |
Obtiene o establece una característica determinada. Si se establece un valor NULL, se quita la característica. |
Revision |
Se incrementa para cada modificación y se puede usar para comprobar los resultados almacenados en caché. |
SupportsWebSockets |
Obtiene o establece si el servidor subyacente admite WebSockets. Esto está habilitado de forma predeterminada. El valor debe ser coherente entre las solicitudes. |
Métodos
Dispose() |
Colección de características de OWIN. |
Get(Type) |
Colección de características de OWIN. |
Get<TFeature>() |
Recupera la característica solicitada de la colección. |
GetEnumerator() |
Colección de características de OWIN. |
Set(Type, Object) |
Colección de características de OWIN. |
Set<TFeature>(TFeature) |
Establece la característica especificada en la colección. |
Implementaciones de interfaz explícitas
IEnumerable.GetEnumerator() |
Colección de características de OWIN. |
IHttpAuthenticationFeature.Handler |
Colección de características de OWIN. |
IHttpAuthenticationFeature.User |
Colección de características de OWIN. |
IHttpConnectionFeature.ConnectionId |
Colección de características de OWIN. |
IHttpConnectionFeature.LocalIpAddress |
Colección de características de OWIN. |
IHttpConnectionFeature.LocalPort |
Colección de características de OWIN. |
IHttpConnectionFeature.RemoteIpAddress |
Colección de características de OWIN. |
IHttpConnectionFeature.RemotePort |
Colección de características de OWIN. |
IHttpRequestFeature.Body |
Colección de características de OWIN. |
IHttpRequestFeature.Headers |
Colección de características de OWIN. |
IHttpRequestFeature.Method |
Colección de características de OWIN. |
IHttpRequestFeature.Path |
Colección de características de OWIN. |
IHttpRequestFeature.PathBase |
Colección de características de OWIN. |
IHttpRequestFeature.Protocol |
Colección de características de OWIN. |
IHttpRequestFeature.QueryString |
Colección de características de OWIN. |
IHttpRequestFeature.RawTarget |
Colección de características de OWIN. |
IHttpRequestFeature.Scheme |
Colección de características de OWIN. |
IHttpRequestIdentifierFeature.TraceIdentifier |
Colección de características de OWIN. |
IHttpRequestLifetimeFeature.Abort() |
Colección de características de OWIN. |
IHttpRequestLifetimeFeature.RequestAborted |
Colección de características de OWIN. |
IHttpResponseBodyFeature.CompleteAsync() |
Colección de características de OWIN. |
IHttpResponseBodyFeature.DisableBuffering() |
Colección de características de OWIN. |
IHttpResponseBodyFeature.SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken) |
Colección de características de OWIN. |
IHttpResponseBodyFeature.StartAsync(CancellationToken) |
Colección de características de OWIN. |
IHttpResponseBodyFeature.Stream |
Colección de características de OWIN. |
IHttpResponseBodyFeature.Writer |
Colección de características de OWIN. |
IHttpResponseFeature.Body |
Colección de características de OWIN. |
IHttpResponseFeature.HasStarted |
Colección de características de OWIN. |
IHttpResponseFeature.Headers |
Colección de características de OWIN. |
IHttpResponseFeature.OnCompleted(Func<Object,Task>, Object) |
Colección de características de OWIN. |
IHttpResponseFeature.OnStarting(Func<Object,Task>, Object) |
Colección de características de OWIN. |
IHttpResponseFeature.ReasonPhrase |
Colección de características de OWIN. |
IHttpResponseFeature.StatusCode |
Colección de características de OWIN. |
IHttpSendFileFeature.SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken) |
Colección de características de OWIN. |
IHttpWebSocketFeature.AcceptAsync(WebSocketAcceptContext) |
Colección de características de OWIN. |
IHttpWebSocketFeature.IsWebSocketRequest |
Colección de características de OWIN. |
ITlsConnectionFeature.ClientCertificate |
Colección de características de OWIN. |
ITlsConnectionFeature.GetClientCertificateAsync(CancellationToken) |
Colección de características de OWIN. |
Métodos de extensión
GetRequiredFeature(IFeatureCollection, Type) |
Recupera la característica solicitada de la colección. Produce un InvalidOperationException si la característica no está presente. |
GetRequiredFeature<TFeature>(IFeatureCollection) |
Recupera la característica solicitada de la colección. Produce un InvalidOperationException si la característica no está presente. |