Redigeeri

Jagamisviis:


BindingCompleteEventArgs Constructors

Definition

Initializes a new instance of the BindingCompleteEventArgs class.

Overloads

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext)

Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state, and binding context.

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext, String)

Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, and binding context.

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

Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, binding context, and exception.

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

Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, binding context, exception, and whether the binding should be cancelled.

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext)

Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state, and binding 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);
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)

Parameters

binding
Binding

The binding associated with this occurrence of a BindingComplete event.

state
BindingCompleteState

One of the BindingCompleteState values.

context
BindingCompleteContext

One of the BindingCompleteContext values.

Remarks

state indicates whether the binding process was successful or an error or exception occurred. context indicates whether the error occurred when updating the bound control or the data source.

Applies to

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext, String)

Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, and binding context.

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)

Parameters

binding
Binding

The binding associated with this occurrence of a BindingComplete event.

state
BindingCompleteState

One of the BindingCompleteState values.

context
BindingCompleteContext

One of the BindingCompleteContext values.

errorText
String

The error text or exception message for errors that occurred during the binding.

Remarks

state indicates whether the binding process was successful or an error or exception occurred. context indicates whether the error occurred when updating the bound control or the data source.

Applies to

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

Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, binding context, and exception.

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)

Parameters

binding
Binding

The binding associated with this occurrence of a BindingComplete event.

state
BindingCompleteState

One of the BindingCompleteState values.

context
BindingCompleteContext

One of the BindingCompleteContext values.

errorText
String

The error text or exception message for errors that occurred during the binding.

exception
Exception

The Exception that occurred during the binding.

Remarks

state indicates whether the binding process was successful or an error or exception occurred. context indicates whether the error occurred when updating the bound control or the data source.

Applies to

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

Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, binding context, exception, and whether the binding should be cancelled.

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)

Parameters

binding
Binding

The binding associated with this occurrence of a BindingComplete event.

state
BindingCompleteState

One of the BindingCompleteState values.

context
BindingCompleteContext

One of the BindingCompleteContext values.

errorText
String

The error text or exception message for errors that occurred during the binding.

exception
Exception

The Exception that occurred during the binding.

cancel
Boolean

true to cancel the binding and keep focus on the current control; false to allow focus to shift to another control.

Remarks

state indicates whether the binding process was successful or an error or exception occurred. context indicates whether the error occurred when updating the bound control or the data source.

Applies to