UnauthorizedResult Class

 

Represents an action result that returns an Unauthorized response.

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

System::Object
  System.Web.Http.Results::UnauthorizedResult

public ref class UnauthorizedResult : IHttpActionResult

NameDescription
System_CAPS_pubmethodUnauthorizedResult(IEnumerable<AuthenticationHeaderValue^>^, ApiController^)

Initializes a new instance of the UnauthorizedResult class, using a controller.

System_CAPS_pubmethodUnauthorizedResult(IEnumerable<AuthenticationHeaderValue^>^, HttpRequestMessage^)

Initializes a new instance of the UnauthorizedResult class, using a request.

NameDescription
System_CAPS_pubpropertyChallenges

Gets the WWW-Authenticate challenges.

System_CAPS_pubpropertyRequest

Gets the request message which led to this result.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodExecuteAsync(CancellationToken)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: