Show / Hide Table of Contents

    Class SeeOtherResult

    An Microsoft.AspNetCore.Mvc.ActionResult that returns a SeeOther (303) response with a Location header to the supplied URL.

    Inheritance
    System.Object
    Microsoft.AspNetCore.Mvc.ActionResult
    Microsoft.AspNetCore.Mvc.StatusCodeResult
    SeeOtherResult
    Implements
    Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult
    Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult
    Microsoft.AspNetCore.Mvc.IActionResult
    Inherited Members
    Microsoft.AspNetCore.Mvc.StatusCodeResult.ExecuteResult(Microsoft.AspNetCore.Mvc.ActionContext)
    Microsoft.AspNetCore.Mvc.StatusCodeResult.StatusCode
    Microsoft.AspNetCore.Mvc.StatusCodeResult.Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult.StatusCode
    Namespace: Cuemon.AspNetCore.Mvc
    Assembly: Cuemon.AspNetCore.Mvc.dll
    Syntax
    public class SeeOtherResult : StatusCodeResult, IClientErrorActionResult, IStatusCodeActionResult, IActionResult

    Constructors

    | Improve this Doc

    SeeOtherResult(Uri)

    Initializes a new instance of the SeeOtherResult class.

    Declaration
    public SeeOtherResult(Uri location)
    Parameters
    Type Name Description
    System.Uri location

    The location of the URL to redirect to.

    Properties

    | Improve this Doc

    Location

    Gets the location of the URL to redirect to.

    Declaration
    public Uri Location { get; }
    Property Value
    Type Description
    System.Uri

    The location of the URL to redirect to.

    Methods

    | Improve this Doc

    ExecuteResultAsync(ActionContext)

    Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method.

    Declaration
    public override Task ExecuteResultAsync(ActionContext context)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.ActionContext context

    The context in which the result is executed. The context information includes information about the action that was executed and request information.

    Returns
    Type Description
    System.Threading.Tasks.Task

    A task that represents the asynchronous execute operation.

    Overrides
    Microsoft.AspNetCore.Mvc.ActionResult.ExecuteResultAsync(Microsoft.AspNetCore.Mvc.ActionContext)

    Implements

    Microsoft.AspNetCore.Mvc.Infrastructure.IClientErrorActionResult
    Microsoft.AspNetCore.Mvc.Infrastructure.IStatusCodeActionResult
    Microsoft.AspNetCore.Mvc.IActionResult

    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>)
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX