Show / Hide Table of Contents

    Class UserAgentException

    The exception that is thrown when the requirements of an HTTP User-Agent header is not meet.

    Inheritance
    System.Object
    System.Exception
    HttpStatusCodeException
    UserAgentException
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    HttpStatusCodeException.StatusCode
    System.Exception.GetBaseException()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.GetType()
    System.Exception.ToString()
    System.Exception.Data
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.Message
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.SerializeObjectState
    Namespace: Cuemon.AspNetCore.Http.Headers
    Assembly: Cuemon.AspNetCore.dll
    Syntax
    public class UserAgentException : HttpStatusCodeException, ISerializable

    Constructors

    | Improve this Doc

    UserAgentException(Int32, String)

    Initializes a new instance of the UserAgentException class.

    Declaration
    public UserAgentException(int statusCode, string message)
    Parameters
    Type Name Description
    System.Int32 statusCode

    The HTTP status code to associate with this exception.

    System.String message

    The message that describes the HTTP status code.

    Implements

    System.Runtime.Serialization.ISerializable

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)

    See Also

    HttpStatusCodeException
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX