TaskAsyncActionDescriptor クラス

定義

アクション メソッドが Task または Task<T> を返すと、アクションに TaskAsyncActionDescriptor 関する情報が提供されます。

public class TaskAsyncActionDescriptor : System.Web.Mvc.Async.AsyncActionDescriptor, System.Web.Mvc.IMethodInfoActionDescriptor
type TaskAsyncActionDescriptor = class
    inherit AsyncActionDescriptor
    interface IMethodInfoActionDescriptor
Public Class TaskAsyncActionDescriptor
Inherits AsyncActionDescriptor
Implements IMethodInfoActionDescriptor
継承
TaskAsyncActionDescriptor
実装

コンストラクター

TaskAsyncActionDescriptor(MethodInfo, String, ControllerDescriptor)

TaskAsyncActionDescriptor クラスの新しいインスタンスを初期化します。

プロパティ

ActionName

アクション メソッドの名前を取得します。

ControllerDescriptor

コントローラー記述子を取得します。

MethodInfo

アクション メソッドが Task または Task<T> を返すと、アクションに TaskAsyncActionDescriptor 関する情報が提供されます。

TaskMethodInfo

非同期タスクの情報を取得します。

UniqueId

このタスクの一意の ID を取得します。

メソッド

BeginExecute(ControllerContext, IDictionary<String,Object>, AsyncCallback, Object)

指定したパラメーター、コントローラー コンテキスト、コールバック、および状態を使用して、非同期のアクション メソッドを呼び出します。

EndExecute(IAsyncResult)

非同期操作を終了します。

Execute(ControllerContext, IDictionary<String,Object>)

非同期アクション メソッドを実行します。

GetCustomAttributes(Boolean)

このメンバーに定義されているカスタム属性の配列を返します (名前付き属性を除く)。

GetCustomAttributes(Type, Boolean)

型で識別される、このメンバーに対して定義されているカスタム属性の配列を返します。

GetFilterAttributes(Boolean)

このメンバーに適用されるすべてのカスタム属性の配列を返します。

GetFilters()
古い.

このアクション メソッドに関連付けられたフィルターを返します。

(継承元 ActionDescriptor)
GetParameters()

非同期アクション メソッドのパラメーターを返します。

GetSelectors()

非同期アクション メソッド セレクターを返します。

IsDefined(Type, Boolean)

指定したカスタム属性の 1 つ以上のインスタンスがこのメンバーに対して定義されているかどうかを示す値を返します。

適用対象