Share via


ActionContextAccessor Class

Definition

Caution

ActionContextAccessor is obsolete and will be removed in a future version. For more information, visit https://aka.ms/aspnet/deprecate/006.

Type that provides access to an ActionContext.

public ref class ActionContextAccessor : Microsoft::AspNetCore::Mvc::Infrastructure::IActionContextAccessor
public class ActionContextAccessor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor
[System.Obsolete("ActionContextAccessor is obsolete and will be removed in a future version. For more information, visit https://aka.ms/aspnet/deprecate/006.", DiagnosticId="ASPDEPR006")]
public class ActionContextAccessor : Microsoft.AspNetCore.Mvc.Infrastructure.IActionContextAccessor
type ActionContextAccessor = class
    interface IActionContextAccessor
[<System.Obsolete("ActionContextAccessor is obsolete and will be removed in a future version. For more information, visit https://aka.ms/aspnet/deprecate/006.", DiagnosticId="ASPDEPR006")>]
type ActionContextAccessor = class
    interface IActionContextAccessor
Public Class ActionContextAccessor
Implements IActionContextAccessor
Inheritance
ActionContextAccessor
Attributes
Implements

Constructors

ActionContextAccessor()

Properties

ActionContext

Gets or sets the ActionContext.

Applies to