Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


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)

Source:
BindingCompleteEventArgs.cs
Source:
BindingCompleteEventArgs.cs
Source:
BindingCompleteEventArgs.cs

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);

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

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

BindingCompleteEventArgs(Binding, BindingCompleteState, BindingCompleteContext, String)

Source:
BindingCompleteEventArgs.cs
Source:
BindingCompleteEventArgs.cs
Source:
BindingCompleteEventArgs.cs

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, string errorText);
public BindingCompleteEventArgs (System.Windows.Forms.Binding? binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string? errorText);

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

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

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

Source:
BindingCompleteEventArgs.cs
Source:
BindingCompleteEventArgs.cs
Source:
BindingCompleteEventArgs.cs

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, 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);

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

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

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

Source:
BindingCompleteEventArgs.cs
Source:
BindingCompleteEventArgs.cs
Source:
BindingCompleteEventArgs.cs

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, 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);

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

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9