Udostępnij za pośrednictwem


AsyncControllerActionInvoker.EndInvokeAction Method

Cancels the action.

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

Syntax

'Declaration
Public Overridable Function EndInvokeAction ( _
    asyncResult As IAsyncResult _
) As Boolean
public virtual bool EndInvokeAction(
    IAsyncResult asyncResult
)
public:
virtual bool EndInvokeAction(
    IAsyncResult^ asyncResult
)

Parameters

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

Return Value

Type: System.Boolean
true if the action was canceled; otherwise, false.

Implements

IAsyncActionInvoker.EndInvokeAction(IAsyncResult)

See Also

Reference

AsyncControllerActionInvoker Class

System.Web.Mvc.Async Namespace