-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathBindingCompleteEventArgs.xml
More file actions
458 lines (415 loc) · 35.3 KB
/
BindingCompleteEventArgs.xml
File metadata and controls
458 lines (415 loc) · 35.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
<Type Name="BindingCompleteEventArgs" FullName="System.Windows.Forms.BindingCompleteEventArgs">
<TypeSignature Language="C#" Value="public class BindingCompleteEventArgs : System.ComponentModel.CancelEventArgs" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit BindingCompleteEventArgs extends System.ComponentModel.CancelEventArgs" />
<TypeSignature Language="DocId" Value="T:System.Windows.Forms.BindingCompleteEventArgs" />
<TypeSignature Language="VB.NET" Value="Public Class BindingCompleteEventArgs
Inherits CancelEventArgs" />
<TypeSignature Language="F#" Value="type BindingCompleteEventArgs = class
 inherit CancelEventArgs" />
<TypeSignature Language="C++ CLI" Value="public ref class BindingCompleteEventArgs : System::ComponentModel::CancelEventArgs" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.ComponentModel.CancelEventArgs</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="windowsdesktop-10.0;windowsdesktop-11.0;windowsdesktop-8.0;windowsdesktop-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides data for the <see cref="E:System.Windows.Forms.Binding.BindingComplete" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.BindingCompleteEventArgs> contains information regarding exceptions or errors that occurred during a binding process.
## Examples
The following code example demonstrates handling the <xref:System.Windows.Forms.Binding.BindingComplete> event. To run this code, paste it into an empty code file.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.DataConnectorBindingComplete/CPP/form1.cpp" id="Snippet3":::
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/Binding/BindingComplete/form1.cs" id="Snippet3":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/Binding/BindingComplete/form1.vb" id="Snippet3":::
]]></format>
</remarks>
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.BindingCompleteEventArgs" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public BindingCompleteEventArgs (System.Windows.Forms.Binding? binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context);" FrameworkAlternate="windowsdesktop-10.0;windowsdesktop-11.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Windows.Forms.Binding binding, valuetype System.Windows.Forms.BindingCompleteState state, valuetype System.Windows.Forms.BindingCompleteContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.BindingCompleteEventArgs.#ctor(System.Windows.Forms.Binding,System.Windows.Forms.BindingCompleteState,System.Windows.Forms.BindingCompleteContext)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (binding As Binding, state As BindingCompleteState, context As BindingCompleteContext)" />
<MemberSignature Language="F#" Value="new System.Windows.Forms.BindingCompleteEventArgs : System.Windows.Forms.Binding * System.Windows.Forms.BindingCompleteState * System.Windows.Forms.BindingCompleteContext -> System.Windows.Forms.BindingCompleteEventArgs" Usage="new System.Windows.Forms.BindingCompleteEventArgs (binding, state, context)" />
<MemberSignature Language="C++ CLI" Value="public:
 BindingCompleteEventArgs(System::Windows::Forms::Binding ^ binding, System::Windows::Forms::BindingCompleteState state, System::Windows::Forms::BindingCompleteContext context);" />
<MemberSignature Language="C#" Value="public BindingCompleteEventArgs (System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context);" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="binding" Type="System.Windows.Forms.Binding" />
<Parameter Name="state" Type="System.Windows.Forms.BindingCompleteState" />
<Parameter Name="context" Type="System.Windows.Forms.BindingCompleteContext" />
</Parameters>
<Docs>
<param name="binding">The binding associated with this occurrence of a <see cref="E:System.Windows.Forms.Binding.BindingComplete" /> event.</param>
<param name="state">One of the <see cref="T:System.Windows.Forms.BindingCompleteState" /> values.</param>
<param name="context">One of the <see cref="T:System.Windows.Forms.BindingCompleteContext" /> values.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.BindingCompleteEventArgs" /> class with the specified binding, error state, and binding context.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## 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.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public BindingCompleteEventArgs (System.Windows.Forms.Binding? binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string? errorText);" FrameworkAlternate="windowsdesktop-10.0;windowsdesktop-11.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Windows.Forms.Binding binding, valuetype System.Windows.Forms.BindingCompleteState state, valuetype System.Windows.Forms.BindingCompleteContext context, string errorText) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.BindingCompleteEventArgs.#ctor(System.Windows.Forms.Binding,System.Windows.Forms.BindingCompleteState,System.Windows.Forms.BindingCompleteContext,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (binding As Binding, state As BindingCompleteState, context As BindingCompleteContext, errorText As String)" />
<MemberSignature Language="F#" Value="new System.Windows.Forms.BindingCompleteEventArgs : System.Windows.Forms.Binding * System.Windows.Forms.BindingCompleteState * System.Windows.Forms.BindingCompleteContext * string -> System.Windows.Forms.BindingCompleteEventArgs" Usage="new System.Windows.Forms.BindingCompleteEventArgs (binding, state, context, errorText)" />
<MemberSignature Language="C++ CLI" Value="public:
 BindingCompleteEventArgs(System::Windows::Forms::Binding ^ binding, System::Windows::Forms::BindingCompleteState state, System::Windows::Forms::BindingCompleteContext context, System::String ^ errorText);" />
<MemberSignature Language="C#" Value="public BindingCompleteEventArgs (System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string errorText);" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="binding" Type="System.Windows.Forms.Binding" />
<Parameter Name="state" Type="System.Windows.Forms.BindingCompleteState" />
<Parameter Name="context" Type="System.Windows.Forms.BindingCompleteContext" />
<Parameter Name="errorText" Type="System.String" />
</Parameters>
<Docs>
<param name="binding">The binding associated with this occurrence of a <see cref="E:System.Windows.Forms.Binding.BindingComplete" /> event.</param>
<param name="state">One of the <see cref="T:System.Windows.Forms.BindingCompleteState" /> values.</param>
<param name="context">One of the <see cref="T:System.Windows.Forms.BindingCompleteContext" /> values.</param>
<param name="errorText">The error text or exception message for errors that occurred during the binding.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.BindingCompleteEventArgs" /> class with the specified binding, error state and text, and binding context.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## 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.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public BindingCompleteEventArgs (System.Windows.Forms.Binding? binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string? errorText, Exception? exception);" FrameworkAlternate="windowsdesktop-10.0;windowsdesktop-11.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Windows.Forms.Binding binding, valuetype System.Windows.Forms.BindingCompleteState state, valuetype System.Windows.Forms.BindingCompleteContext context, string errorText, class System.Exception exception) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.BindingCompleteEventArgs.#ctor(System.Windows.Forms.Binding,System.Windows.Forms.BindingCompleteState,System.Windows.Forms.BindingCompleteContext,System.String,System.Exception)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (binding As Binding, state As BindingCompleteState, context As BindingCompleteContext, errorText As String, exception As Exception)" />
<MemberSignature Language="F#" Value="new System.Windows.Forms.BindingCompleteEventArgs : System.Windows.Forms.Binding * System.Windows.Forms.BindingCompleteState * System.Windows.Forms.BindingCompleteContext * string * Exception -> System.Windows.Forms.BindingCompleteEventArgs" Usage="new System.Windows.Forms.BindingCompleteEventArgs (binding, state, context, errorText, exception)" />
<MemberSignature Language="C++ CLI" Value="public:
 BindingCompleteEventArgs(System::Windows::Forms::Binding ^ binding, System::Windows::Forms::BindingCompleteState state, System::Windows::Forms::BindingCompleteContext context, System::String ^ errorText, Exception ^ exception);" />
<MemberSignature Language="C#" Value="public BindingCompleteEventArgs (System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string errorText, Exception exception);" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="binding" Type="System.Windows.Forms.Binding" />
<Parameter Name="state" Type="System.Windows.Forms.BindingCompleteState" />
<Parameter Name="context" Type="System.Windows.Forms.BindingCompleteContext" />
<Parameter Name="errorText" Type="System.String" />
<Parameter Name="exception" Type="System.Exception" />
</Parameters>
<Docs>
<param name="binding">The binding associated with this occurrence of a <see cref="E:System.Windows.Forms.Binding.BindingComplete" /> event.</param>
<param name="state">One of the <see cref="T:System.Windows.Forms.BindingCompleteState" /> values.</param>
<param name="context">One of the <see cref="T:System.Windows.Forms.BindingCompleteContext" /> values.</param>
<param name="errorText">The error text or exception message for errors that occurred during the binding.</param>
<param name="exception">The <see cref="T:System.Exception" /> that occurred during the binding.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.BindingCompleteEventArgs" /> class with the specified binding, error state and text, binding context, and exception.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## 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.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public BindingCompleteEventArgs (System.Windows.Forms.Binding? binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string? errorText, Exception? exception, bool cancel);" FrameworkAlternate="windowsdesktop-10.0;windowsdesktop-11.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Windows.Forms.Binding binding, valuetype System.Windows.Forms.BindingCompleteState state, valuetype System.Windows.Forms.BindingCompleteContext context, string errorText, class System.Exception exception, bool cancel) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.BindingCompleteEventArgs.#ctor(System.Windows.Forms.Binding,System.Windows.Forms.BindingCompleteState,System.Windows.Forms.BindingCompleteContext,System.String,System.Exception,System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (binding As Binding, state As BindingCompleteState, context As BindingCompleteContext, errorText As String, exception As Exception, cancel As Boolean)" />
<MemberSignature Language="F#" Value="new System.Windows.Forms.BindingCompleteEventArgs : System.Windows.Forms.Binding * System.Windows.Forms.BindingCompleteState * System.Windows.Forms.BindingCompleteContext * string * Exception * bool -> System.Windows.Forms.BindingCompleteEventArgs" Usage="new System.Windows.Forms.BindingCompleteEventArgs (binding, state, context, errorText, exception, cancel)" />
<MemberSignature Language="C++ CLI" Value="public:
 BindingCompleteEventArgs(System::Windows::Forms::Binding ^ binding, System::Windows::Forms::BindingCompleteState state, System::Windows::Forms::BindingCompleteContext context, System::String ^ errorText, Exception ^ exception, bool cancel);" />
<MemberSignature Language="C#" Value="public BindingCompleteEventArgs (System.Windows.Forms.Binding binding, System.Windows.Forms.BindingCompleteState state, System.Windows.Forms.BindingCompleteContext context, string errorText, Exception exception, bool cancel);" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="binding" Type="System.Windows.Forms.Binding" />
<Parameter Name="state" Type="System.Windows.Forms.BindingCompleteState" />
<Parameter Name="context" Type="System.Windows.Forms.BindingCompleteContext" />
<Parameter Name="errorText" Type="System.String" />
<Parameter Name="exception" Type="System.Exception" />
<Parameter Name="cancel" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="binding">The binding associated with this occurrence of a <see cref="E:System.Windows.Forms.Binding.BindingComplete" /> event.</param>
<param name="state">One of the <see cref="T:System.Windows.Forms.BindingCompleteState" /> values.</param>
<param name="context">One of the <see cref="T:System.Windows.Forms.BindingCompleteContext" /> values.</param>
<param name="errorText">The error text or exception message for errors that occurred during the binding.</param>
<param name="exception">The <see cref="T:System.Exception" /> that occurred during the binding.</param>
<param name="cancel">
<see langword="true" /> to cancel the binding and keep focus on the current control; <see langword="false" /> to allow focus to shift to another control.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.BindingCompleteEventArgs" /> class with the specified binding, error state and text, binding context, exception, and whether the binding should be cancelled.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## 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.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Binding">
<MemberSignature Language="C#" Value="public System.Windows.Forms.Binding? Binding { get; }" FrameworkAlternate="windowsdesktop-10.0;windowsdesktop-11.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Forms.Binding Binding" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.BindingCompleteEventArgs.Binding" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Binding As Binding" />
<MemberSignature Language="F#" Value="member this.Binding : System.Windows.Forms.Binding" Usage="System.Windows.Forms.BindingCompleteEventArgs.Binding" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Forms::Binding ^ Binding { System::Windows::Forms::Binding ^ get(); };" />
<MemberSignature Language="C#" Value="public System.Windows.Forms.Binding Binding { get; }" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.Binding</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the binding associated with this occurrence of a <see cref="E:System.Windows.Forms.Binding.BindingComplete" /> event.</summary>
<value>The <see cref="T:System.Windows.Forms.Binding" /> associated with this <see cref="T:System.Windows.Forms.BindingCompleteEventArgs" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.BindingCompleteEventArgs.Binding*> might also be associated with the <xref:System.Windows.Forms.BindingSource.BindingComplete> event of a <xref:System.Windows.Forms.BindingSource> or of a class that inherits from <xref:System.Windows.Forms.BindingManagerBase>.
## Examples
The following code example demonstrates how to handle the <xref:System.Windows.Forms.BindingManagerBase.BindingComplete> event and use the <xref:System.Windows.Forms.BindingCompleteEventArgs> to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or <xref:System.Windows.Forms.Form.Load> event-handling method.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11":::
]]></format>
</remarks>
<altmember cref="E:System.Windows.Forms.BindingManagerBase.BindingComplete" />
<altmember cref="E:System.Windows.Forms.BindingSource.BindingComplete" />
</Docs>
</Member>
<Member MemberName="BindingCompleteContext">
<MemberSignature Language="C#" Value="public System.Windows.Forms.BindingCompleteContext BindingCompleteContext { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Forms.BindingCompleteContext BindingCompleteContext" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.BindingCompleteEventArgs.BindingCompleteContext" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property BindingCompleteContext As BindingCompleteContext" />
<MemberSignature Language="F#" Value="member this.BindingCompleteContext : System.Windows.Forms.BindingCompleteContext" Usage="System.Windows.Forms.BindingCompleteEventArgs.BindingCompleteContext" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Forms::BindingCompleteContext BindingCompleteContext { System::Windows::Forms::BindingCompleteContext get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.BindingCompleteContext</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the direction of the binding operation.</summary>
<value>One of the <see cref="T:System.Windows.Forms.BindingCompleteContext" /> values.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example demonstrates how to handle the <xref:System.Windows.Forms.BindingManagerBase.BindingComplete> event and use the <xref:System.Windows.Forms.BindingCompleteEventArgs> to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or <xref:System.Windows.Forms.Form.Load> event-handling method.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="BindingCompleteState">
<MemberSignature Language="C#" Value="public System.Windows.Forms.BindingCompleteState BindingCompleteState { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Windows.Forms.BindingCompleteState BindingCompleteState" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.BindingCompleteEventArgs.BindingCompleteState" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property BindingCompleteState As BindingCompleteState" />
<MemberSignature Language="F#" Value="member this.BindingCompleteState : System.Windows.Forms.BindingCompleteState" Usage="System.Windows.Forms.BindingCompleteEventArgs.BindingCompleteState" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Windows::Forms::BindingCompleteState BindingCompleteState { System::Windows::Forms::BindingCompleteState get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.BindingCompleteState</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the completion state of the binding operation.</summary>
<value>One of the <see cref="T:System.Windows.Forms.BindingCompleteState" /> values.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Windows.Forms.BindingCompleteEventArgs.BindingCompleteState*> to determine if the binding was successful, or an error or exception occurred.
## Examples
The following code example demonstrates the use of this member. In the example, an event handler reports on the occurrence of the <xref:System.Windows.Forms.Binding.BindingComplete?displayProperty=nameWithType> event. This report helps you to learn when the event occurs and can assist you in debugging. To report on multiple events or on events that occur frequently, consider replacing <xref:System.Windows.Forms.MessageBox.Show*?displayProperty=nameWithType> with <xref:System.Console.WriteLine*?displayProperty=nameWithType> or appending the message to a multiline <xref:System.Windows.Forms.TextBox>.
To run the example code, paste it into a project that contains an instance of type <xref:System.Windows.Forms.Binding> named `Binding1`. Then ensure that the event handler is associated with the <xref:System.Windows.Forms.Binding.BindingComplete?displayProperty=nameWithType> event.
:::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet77":::
:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet77":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ErrorText">
<MemberSignature Language="C#" Value="public string ErrorText { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string ErrorText" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.BindingCompleteEventArgs.ErrorText" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property ErrorText As String" />
<MemberSignature Language="F#" Value="member this.ErrorText : string" Usage="System.Windows.Forms.BindingCompleteEventArgs.ErrorText" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ ErrorText { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="windowsdesktop-10.0;windowsdesktop-11.0;windowsdesktop-8.0;windowsdesktop-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the text description of the error that occurred during the binding operation.</summary>
<value>The text description of the error that occurred during the binding operation.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property returns an empty string if no error occurred in the binding operation. It returns the value of the <xref:System.Exception.Message?displayProperty=nameWithType> property when an exception occurs.
## Examples
The following code example demonstrates the use of this member. In the example, an event handler reports on the occurrence of the <xref:System.Windows.Forms.Binding.BindingComplete?displayProperty=nameWithType> event. This report helps you to learn when the event occurs and can assist you in debugging. To report on multiple events or on events that occur frequently, consider replacing <xref:System.Windows.Forms.MessageBox.Show*?displayProperty=nameWithType> with <xref:System.Console.WriteLine*?displayProperty=nameWithType> or appending the message to a multiline <xref:System.Windows.Forms.TextBox>.
To run the example code, paste it into a project that contains an instance of type <xref:System.Windows.Forms.Binding> named `Binding1`. Then ensure that the event handler is associated with the <xref:System.Windows.Forms.Binding.BindingComplete?displayProperty=nameWithType> event.
:::code language="csharp" source="~/snippets/csharp/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.cs" id="Snippet77":::
:::code language="vb" source="~/snippets/visualbasic/System.ComponentModel/CollectionChangeEventArgs/Overview/EventExamples.vb" id="Snippet77":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Exception">
<MemberSignature Language="C#" Value="public Exception? Exception { get; }" FrameworkAlternate="windowsdesktop-10.0;windowsdesktop-11.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Exception Exception" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.BindingCompleteEventArgs.Exception" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Exception As Exception" />
<MemberSignature Language="F#" Value="member this.Exception : Exception" Usage="System.Windows.Forms.BindingCompleteEventArgs.Exception" />
<MemberSignature Language="C++ CLI" Value="public:
 property Exception ^ Exception { Exception ^ get(); };" />
<MemberSignature Language="C#" Value="public Exception Exception { get; }" FrameworkAlternate="windowsdesktop-3.0;windowsdesktop-3.1;windowsdesktop-5.0" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
<AssemblyVersion>10.0.0.0</AssemblyVersion>
<AssemblyVersion>11.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Exception</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the exception that occurred during the binding operation.</summary>
<value>The <see cref="T:System.Exception" /> that occurred during the binding operation.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property returns `null` if an exception did not occur during the binding operation.
## Examples
The following code example demonstrates how to handle the <xref:System.Windows.Forms.BindingManagerBase.BindingComplete> event and use the <xref:System.Windows.Forms.BindingCompleteEventArgs> to ensure multiple controls bound to the same data source remain synchronized when one of the control values is changed. To run this example, paste the code into a Windows Form and call the `InitializeControlsAndData` method from the form's constructor or <xref:System.Windows.Forms.Form.Load> event-handling method.
:::code language="csharp" source="~/snippets/csharp/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.cs" id="Snippet11":::
:::code language="vb" source="~/snippets/visualbasic/System.Windows.Forms/BindingCompleteEventArgs/Binding/Form1.vb" id="Snippet11":::
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>