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
- XmlSchemaCollection.cs
- EventMap.cs
- UIElementHelper.cs
- XamlSerializer.cs
- XamlBrushSerializer.cs
- ConfigXmlText.cs
- CatalogPartCollection.cs
- WorkflowPageSetupDialog.cs
- EncodingDataItem.cs
- DateTimeStorage.cs
- PositiveTimeSpanValidatorAttribute.cs
- SemanticTag.cs
- SafeNativeMethodsCLR.cs
- TraceSection.cs
- PackageFilter.cs
- ImportOptions.cs
- AuthenticationModulesSection.cs
- StorageTypeMapping.cs
- Expressions.cs
- TabControl.cs
- FloaterParaClient.cs
- RawStylusInputReport.cs
- ClockController.cs
- TextServicesLoader.cs
- ETagAttribute.cs
- MD5Cng.cs
- CoTaskMemHandle.cs
- BinaryMethodMessage.cs
- StreamReader.cs
- SetterBaseCollection.cs
- DataGridViewRowPrePaintEventArgs.cs
- BamlReader.cs
- BooleanAnimationBase.cs
- NullReferenceException.cs
- MarshalDirectiveException.cs
- CharEntityEncoderFallback.cs
- WindowsGrip.cs
- InteropExecutor.cs
- DelegateHelpers.Generated.cs
- XpsManager.cs
- TypeDescriptionProviderAttribute.cs
- SamlSecurityToken.cs
- RemoteWebConfigurationHostServer.cs
- KeyConstraint.cs
- BaseTemplateBuildProvider.cs
- SR.cs
- ParentControlDesigner.cs
- SoapSchemaExporter.cs
- ObjectContextServiceProvider.cs
- UIElementAutomationPeer.cs
- HandlerFactoryWrapper.cs
- AssemblyResourceLoader.cs
- LinkArea.cs
- Point.cs
- FontClient.cs
- FixUp.cs
- DataControlFieldHeaderCell.cs
- ScriptRegistrationManager.cs
- GenericXmlSecurityToken.cs
- AssemblyLoader.cs
- CallSiteHelpers.cs
- BamlTreeNode.cs
- DeferredSelectedIndexReference.cs
- TypeConverterValueSerializer.cs
- SqlInfoMessageEvent.cs
- OdbcError.cs
- XmlWrappingReader.cs
- HttpDebugHandler.cs
- AssemblyUtil.cs
- AxisAngleRotation3D.cs
- TraceContextRecord.cs
- DeferredSelectedIndexReference.cs
- ArrangedElementCollection.cs
- InvalidFilterCriteriaException.cs
- Int32RectValueSerializer.cs
- BuildManager.cs
- GradientStop.cs
- SchemaMapping.cs
- DllNotFoundException.cs
- WeakHashtable.cs
- Empty.cs
- TemplateGroupCollection.cs
- TimerEventSubscriptionCollection.cs
- WorkflowCommandExtensionItem.cs
- MetadataArtifactLoaderFile.cs
- RotateTransform.cs
- DataGridCellItemAutomationPeer.cs
- CryptoApi.cs
- ActivitySurrogateSelector.cs
- TriggerCollection.cs
- NullableFloatSumAggregationOperator.cs
- UserNameSecurityTokenProvider.cs
- ConnectionOrientedTransportChannelListener.cs
- __TransparentProxy.cs
- DataGridViewAddColumnDialog.cs
- BindableAttribute.cs
- XamlPoint3DCollectionSerializer.cs
- RepeatButton.cs
- UniqueIdentifierService.cs
- CurrentTimeZone.cs