Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / BindingCompleteEventArgs.cs / 1305376 / BindingCompleteEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.ComponentModel; ////// /// Provides information about a Binding Completed event. /// public class BindingCompleteEventArgs : CancelEventArgs { private Binding binding; private BindingCompleteState state; private BindingCompleteContext context; private string errorText; private Exception exception; ////// /// Constructor for BindingCompleteEventArgs. /// public BindingCompleteEventArgs(Binding binding, BindingCompleteState state, BindingCompleteContext context, string errorText, Exception exception, bool cancel) : base(cancel) { this.binding = binding; this.state = state; this.context = context; this.errorText = (errorText == null) ? string.Empty : errorText; this.exception = exception; } ////// /// Constructor for BindingCompleteEventArgs. /// public BindingCompleteEventArgs(Binding binding, BindingCompleteState state, BindingCompleteContext context, string errorText, Exception exception) : this(binding, state, context, errorText, exception, true) { } ////// /// Constructor for BindingCompleteEventArgs. /// public BindingCompleteEventArgs(Binding binding, BindingCompleteState state, BindingCompleteContext context, string errorText) : this(binding, state, context, errorText, null, true) { } ////// /// Constructor for BindingCompleteEventArgs. /// public BindingCompleteEventArgs(Binding binding, BindingCompleteState state, BindingCompleteContext context) : this(binding, state, context, string.Empty, null, false) { } ////// /// public Binding Binding { get { return this.binding; } } ////// /// public BindingCompleteState BindingCompleteState { get { return this.state; } } ////// /// public BindingCompleteContext BindingCompleteContext { get { return this.context; } } ////// /// public string ErrorText { get { return this.errorText; } } ////// /// public Exception Exception { get { return this.exception; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MemberInitExpression.cs
- ListViewCommandEventArgs.cs
- Rect3D.cs
- HighContrastHelper.cs
- IfElseDesigner.xaml.cs
- AddressHeader.cs
- HttpRequest.cs
- HtmlInputButton.cs
- PublishLicense.cs
- WindowsSolidBrush.cs
- Size.cs
- Parameter.cs
- AnnotationObservableCollection.cs
- DocumentsTrace.cs
- TemplatedWizardStep.cs
- Exceptions.cs
- WebPartCancelEventArgs.cs
- SqlInternalConnectionSmi.cs
- ColorIndependentAnimationStorage.cs
- RelationshipEndCollection.cs
- FactoryGenerator.cs
- XMLSchema.cs
- Helpers.cs
- MenuAutomationPeer.cs
- BindableTemplateBuilder.cs
- FieldBuilder.cs
- querybuilder.cs
- BamlBinaryReader.cs
- ListMarkerSourceInfo.cs
- SplineKeyFrames.cs
- Popup.cs
- CryptoStream.cs
- TableRow.cs
- EndpointAddressMessageFilterTable.cs
- FileDataSource.cs
- XamlTypeMapper.cs
- ConnectionManagementElementCollection.cs
- GlobalAllocSafeHandle.cs
- XmlPropertyBag.cs
- KnownColorTable.cs
- RadioButtonStandardAdapter.cs
- WindowsPrincipal.cs
- SrgsDocument.cs
- ICollection.cs
- SmiEventSink_Default.cs
- SharedStatics.cs
- RootBuilder.cs
- HtmlElementEventArgs.cs
- HtmlHead.cs
- AsymmetricSignatureFormatter.cs
- Int32Animation.cs
- PropertyChangedEventArgs.cs
- DataControlField.cs
- HttpRequestBase.cs
- Cell.cs
- Animatable.cs
- TableRowCollection.cs
- SessionStateModule.cs
- DataGridPagerStyle.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- EncodingNLS.cs
- PersistChildrenAttribute.cs
- WizardStepCollectionEditor.cs
- sqlstateclientmanager.cs
- SecurityTokenException.cs
- Misc.cs
- BindingWorker.cs
- WebPartChrome.cs
- PathStreamGeometryContext.cs
- QilInvokeEarlyBound.cs
- InlineCollection.cs
- FontWeightConverter.cs
- Choices.cs
- Component.cs
- RequestCachePolicyConverter.cs
- Span.cs
- ViewStateModeByIdAttribute.cs
- Content.cs
- PropertyChangedEventArgs.cs
- MiniModule.cs
- RoleProviderPrincipal.cs
- ObjectToIdCache.cs
- SerializationFieldInfo.cs
- StatusBarItem.cs
- TextBox.cs
- DataGridViewImageCell.cs
- XmlValueConverter.cs
- WinFormsSecurity.cs
- SafeHandles.cs
- TemplateBuilder.cs
- DoubleLinkListEnumerator.cs
- SafeFreeMibTable.cs
- BitConverter.cs
- DoubleLinkList.cs
- AudioFormatConverter.cs
- StructuralType.cs
- ReadOnlyDataSourceView.cs
- ApplicationDirectory.cs
- MsmqChannelListenerBase.cs
- XmlSchemaAnnotated.cs