共用方式為


ModelValidatingEventArgs 建構函式

定義

初始化 ModelValidatingEventArgs 類別的新執行個體。

public:
 ModelValidatingEventArgs(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Web::ModelBinding::ModelValidationNode ^ parentNode);
public ModelValidatingEventArgs (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelValidationNode parentNode);
new System.Web.ModelBinding.ModelValidatingEventArgs : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelValidationNode -> System.Web.ModelBinding.ModelValidatingEventArgs
Public Sub New (modelBindingExecutionContext As ModelBindingExecutionContext, parentNode As ModelValidationNode)

參數

modelBindingExecutionContext
ModelBindingExecutionContext

執行內容。

parentNode
ModelValidationNode

父模型驗證節點。

適用於