BindingCompleteEventArgs Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the BindingCompleteEventArgs class.
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. |
- 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);
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
.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 |
- 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, 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
.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 |
- 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, 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.
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, 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.
- 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 |
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: