共用方式為


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
BindingCompleteState

其中一個 BindingCompleteState 值。

context
BindingCompleteContext

其中一個 BindingCompleteContext 值。

備註

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 事件有關聯的繫結。

state
BindingCompleteState

其中一個 BindingCompleteState 值。

context
BindingCompleteContext

其中一個 BindingCompleteContext 值。

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 事件有關聯的繫結。

state
BindingCompleteState

其中一個 BindingCompleteState 值。

context
BindingCompleteContext

其中一個 BindingCompleteContext 值。

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 事件有關聯的繫結。

state
BindingCompleteState

其中一個 BindingCompleteState 值。

context
BindingCompleteContext

其中一個 BindingCompleteContext 值。

errorText
String

在繫結期間發生的錯誤之錯誤文字或例外狀況訊息。

exception
Exception

在繫結期間所發生的 Exception

cancel
Boolean

true 表示取消繫結以及將焦點維持在目前控制項上;false 表示允許將焦點移位到另一個控制項。

備註

state 指出系結程式是否成功或發生錯誤或例外狀況。 context 指出更新系結控制項或資料來源時發生錯誤。

適用於