Udostępnij za pośrednictwem


AsyncControllerActionInvoker.EndInvokeActionMethod Method

Cancels the action.

Namespace:  System.Web.Mvc.Async
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Protected Friend Overridable Function EndInvokeActionMethod ( _
    asyncResult As IAsyncResult _
) As ActionResult
protected internal virtual ActionResult EndInvokeActionMethod(
    IAsyncResult asyncResult
)
protected public:
virtual ActionResult^ EndInvokeActionMethod(
    IAsyncResult^ asyncResult
)

Parameters

  • asyncResult
    Type: System.IAsyncResult
    The user-defined object that qualifies or contains information about an asynchronous operation.

Return Value

Type: System.Web.Mvc.ActionResult
true if the action was canceled; otherwise, false.

See Also

Reference

AsyncControllerActionInvoker Class

System.Web.Mvc.Async Namespace