Share via


HttpAuthenticationContext.ErrorResult Property

 

Gets or sets an action result that will produce an error response (if authentication failed; otherwise, null).

Namespace:   System.Web.Http.Filters
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public IHttpActionResult ErrorResult {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property IHttpActionResult^ ErrorResult {
    [CompilerGeneratedAttribute]
    IHttpActionResult^ get();
    [CompilerGeneratedAttribute]
    void set(IHttpActionResult^ value);
}
member ErrorResult : IHttpActionResult with get, set
Public Property ErrorResult As IHttpActionResult

Property Value

Type: System.Web.Http.IHttpActionResult

An action result that will produce an error response.

See Also

HttpAuthenticationContext Class
System.Web.Http.Filters Namespace

Return to top