BindingCompleteEventArgs 构造函数

定义

初始化 BindingCompleteEventArgs 类的新实例。

重载

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext)

使用指定的绑定、错误状态和绑定上下文初始化 BindingCompleteEventArgs 类的新实例。

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext, String)

使用指定的绑定、错误状态和文本以及绑定上下文初始化 BindingCompleteEventArgs 类的新实例。

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext, String, Exception)

使用指定的绑定、错误状态和文本、绑定上下文以及异常初始化 BindingCompleteEventArgs 类的新实例。

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext, String, Exception, Boolean)

使用指定的绑定、错误状态和文本、绑定上下文、异常以及有关绑定是否应该取消的信息初始化 BindingCompleteEventArgs 类的新实例。

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext)

使用指定的绑定、错误状态和绑定上下文初始化 BindingCompleteEventArgs 类的新实例。

public:
 BindingCompleteEventArgs(System::Windows::Forms::Binding ^ binding, System::Windows::Forms::BindingCompleteState state, System::Windows::Forms::BindingCompleteContext context);
public BindingCompleteEventArgs (System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context);
public BindingCompleteEventArgs (System.Windows.Forms.Binding? binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context);
new System.Windows.Forms.BindingCompleteEventArgs : System.Windows.Forms.Binding * System.Windows.Forms.BindingCompleteState * System.Windows.Forms.BindingCompleteContext -> System.Windows.Forms.BindingCompleteEventArgs
Public Sub New (binding As Binding, state As BindingCompleteState, context As BindingCompleteContext)

参数

binding
Binding

与此次 BindingComplete 事件的发生关联的绑定。

注解

state 指示绑定过程是成功还是发生了错误或异常。 context 指示更新绑定控件或数据源时是否发生错误。

适用于

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext, String)

使用指定的绑定、错误状态和文本以及绑定上下文初始化 BindingCompleteEventArgs 类的新实例。

public:
 BindingCompleteEventArgs(System::Windows::Forms::Binding ^ binding, System::Windows::Forms::BindingCompleteState state, System::Windows::Forms::BindingCompleteContext context, System::String ^ errorText);
public BindingCompleteEventArgs (System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string errorText);
public BindingCompleteEventArgs (System.Windows.Forms.Binding? binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string? errorText);
new System.Windows.Forms.BindingCompleteEventArgs : System.Windows.Forms.Binding * System.Windows.Forms.BindingCompleteState * System.Windows.Forms.BindingCompleteContext * string -> System.Windows.Forms.BindingCompleteEventArgs
Public Sub New (binding As Binding, state As BindingCompleteState, context As BindingCompleteContext, errorText As String)

参数

binding
Binding

与此次 BindingComplete 事件的发生关联的绑定。

errorText
String

在绑定过程中发生的错误的错误文本或异常消息。

注解

state 指示绑定过程是成功还是发生了错误或异常。 context 指示更新绑定控件或数据源时是否发生错误。

适用于

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext, String, Exception)

使用指定的绑定、错误状态和文本、绑定上下文以及异常初始化 BindingCompleteEventArgs 类的新实例。

public:
 BindingCompleteEventArgs(System::Windows::Forms::Binding ^ binding, System::Windows::Forms::BindingCompleteState state, System::Windows::Forms::BindingCompleteContext context, System::String ^ errorText, Exception ^ exception);
public BindingCompleteEventArgs (System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string errorText, Exception exception);
public BindingCompleteEventArgs (System.Windows.Forms.Binding? binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string? errorText, Exception? exception);
new System.Windows.Forms.BindingCompleteEventArgs : System.Windows.Forms.Binding * System.Windows.Forms.BindingCompleteState * System.Windows.Forms.BindingCompleteContext * string * Exception -> System.Windows.Forms.BindingCompleteEventArgs
Public Sub New (binding As Binding, state As BindingCompleteState, context As BindingCompleteContext, errorText As String, exception As Exception)

参数

binding
Binding

与此次 BindingComplete 事件的发生关联的绑定。

errorText
String

在绑定过程中发生的错误的错误文本或异常消息。

exception
Exception

绑定过程中发生的 Exception

注解

state 指示绑定过程是成功还是发生了错误或异常。 context 指示更新绑定控件或数据源时是否发生错误。

适用于

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext, String, Exception, Boolean)

使用指定的绑定、错误状态和文本、绑定上下文、异常以及有关绑定是否应该取消的信息初始化 BindingCompleteEventArgs 类的新实例。

public:
 BindingCompleteEventArgs(System::Windows::Forms::Binding ^ binding, System::Windows::Forms::BindingCompleteState state, System::Windows::Forms::BindingCompleteContext context, System::String ^ errorText, Exception ^ exception, bool cancel);
public BindingCompleteEventArgs (System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string errorText, Exception exception, bool cancel);
public BindingCompleteEventArgs (System.Windows.Forms.Binding? binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string? errorText, Exception? exception, bool cancel);
new System.Windows.Forms.BindingCompleteEventArgs : System.Windows.Forms.Binding * System.Windows.Forms.BindingCompleteState * System.Windows.Forms.BindingCompleteContext * string * Exception * bool -> System.Windows.Forms.BindingCompleteEventArgs
Public Sub New (binding As Binding, state As BindingCompleteState, context As BindingCompleteContext, errorText As String, exception As Exception, cancel As Boolean)

参数

binding
Binding

与此次 BindingComplete 事件的发生关联的绑定。

errorText
String

在绑定过程中发生的错误的错误文本或异常消息。

exception
Exception

绑定过程中发生的 Exception

cancel
Boolean

取消绑定并保持焦点在当前控件上时为 true;允许焦点转到另一个控件上时为 false

注解

state 指示绑定过程是成功还是发生了错误或异常。 context 指示更新绑定控件或数据源时是否发生错误。

适用于