Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OkResult Class

 

Represents an action result that returns an empty HttpStatusCode.OK response.

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

System.Object
  System.Web.Http.Results.OkResult

public class OkResult : IHttpActionResult

NameDescription
System_CAPS_pubmethodOkResult(ApiController)

Initializes a new instance of the NotFoundResult class.

System_CAPS_pubmethodOkResult(HttpRequestMessage)

Initializes a new instance of the NotFoundResult class.

NameDescription
System_CAPS_pubpropertyRequest

Gets a HTTP request message for the results.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecuteAsync(CancellationToken)

Executes asynchronously.

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: