Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- Scene3D.cs
- datacache.cs
- MonitoringDescriptionAttribute.cs
- CopyOnWriteList.cs
- AsymmetricSignatureDeformatter.cs
- DataGridHeaderBorder.cs
- ClientSettingsStore.cs
- LayoutInformation.cs
- HtmlTableCellCollection.cs
- TextSimpleMarkerProperties.cs
- ArrayItemValue.cs
- _NegoState.cs
- WebServiceMethodData.cs
- ProcessHostConfigUtils.cs
- XsltArgumentList.cs
- SaveFileDialog.cs
- HttpFileCollectionWrapper.cs
- Attributes.cs
- WebConfigurationHost.cs
- XmlSchemaRedefine.cs
- DecimalAnimationUsingKeyFrames.cs
- XmlMemberMapping.cs
- LazyTextWriterCreator.cs
- CriticalHandle.cs
- AddressHeaderCollection.cs
- XmlComplianceUtil.cs
- WinFormsComponentEditor.cs
- BulletedListEventArgs.cs
- TextServicesLoader.cs
- X509CertificateClaimSet.cs
- XsltException.cs
- WebPartConnectionCollection.cs
- UnauthorizedWebPart.cs
- HtmlForm.cs
- SnapLine.cs
- DbProviderFactory.cs
- XmlTypeMapping.cs
- EntityExpressionVisitor.cs
- ExpressionEditorAttribute.cs
- ExpressionPrinter.cs
- SEHException.cs
- EntityDesignerUtils.cs
- WindowsSpinner.cs
- RepeaterCommandEventArgs.cs
- ListenerServiceInstallComponent.cs
- SqlDataSourceCommandEventArgs.cs
- RootProfilePropertySettingsCollection.cs
- RawUIStateInputReport.cs
- CacheAxisQuery.cs
- Bitmap.cs
- ChannelAcceptor.cs
- RegexReplacement.cs
- ActiveXSite.cs
- TypedTableHandler.cs
- TextInfo.cs
- ConsoleKeyInfo.cs
- TextElementEditingBehaviorAttribute.cs
- TlsnegoTokenProvider.cs
- Pts.cs
- RSAOAEPKeyExchangeDeformatter.cs
- Configuration.cs
- StreamUpdate.cs
- XmlSignificantWhitespace.cs
- SplashScreen.cs
- ImageSourceValueSerializer.cs
- PtsPage.cs
- RowToParametersTransformer.cs
- RemotingSurrogateSelector.cs
- LogReservationCollection.cs
- AsyncCompletedEventArgs.cs
- CornerRadiusConverter.cs
- DirectoryGroupQuery.cs
- RouteUrlExpressionBuilder.cs
- __FastResourceComparer.cs
- MethodMessage.cs
- ResourcePool.cs
- PointAnimationUsingKeyFrames.cs
- StringFreezingAttribute.cs
- DrawingVisual.cs
- GridViewColumnCollectionChangedEventArgs.cs
- SafeHandles.cs
- AdapterSwitches.cs
- WeakReferenceKey.cs
- HandleExceptionArgs.cs
- InvokeAction.cs
- TcpChannelListener.cs
- UnmanagedBitmapWrapper.cs
- Literal.cs
- DataGridAddNewRow.cs
- XmlConvert.cs
- EndpointIdentityConverter.cs
- DataComponentGenerator.cs
- XmlILOptimizerVisitor.cs
- SqlServices.cs
- NamedPipeConnectionPool.cs
- XmlAnyElementAttributes.cs
- ConfigXmlReader.cs
- InternalRelationshipCollection.cs
- PathGradientBrush.cs
- HighlightComponent.cs