ModelBinderErrorMessageProvider 代理人

定義

モデル バインディング エラー メッセージを提供するメソッドを表します。

public delegate System::String ^ ModelBinderErrorMessageProvider(ModelBindingExecutionContext ^ modelBindingExecutionContext, ModelMetadata ^ modelMetadata, System::Object ^ incomingValue);
public delegate string ModelBinderErrorMessageProvider(ModelBindingExecutionContext modelBindingExecutionContext, ModelMetadata modelMetadata, object incomingValue);
type ModelBinderErrorMessageProvider = delegate of ModelBindingExecutionContext * ModelMetadata * obj -> string
Public Delegate Function ModelBinderErrorMessageProvider(modelBindingExecutionContext As ModelBindingExecutionContext, modelMetadata As ModelMetadata, incomingValue As Object) As String 

パラメーター

modelBindingExecutionContext
ModelBindingExecutionContext

モデル バインディングの実行コンテキスト。 モデル バインディングの実行コンテキストが null の場合は、新しい実行コンテキストが作成され、それが返されます。

modelMetadata
ModelMetadata

モデル メタデータ。

incomingValue
Object

受信値。

戻り値

String

拡張メソッド

GetMethodInfo(Delegate)

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。

適用対象