Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / BindingCompleteEventArgs.cs / 1 / 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
- WebPartMinimizeVerb.cs
- NotFiniteNumberException.cs
- StatusBarItemAutomationPeer.cs
- XmlName.cs
- OperationResponse.cs
- SecurityChannelFaultConverter.cs
- CircleHotSpot.cs
- XPathMultyIterator.cs
- HwndMouseInputProvider.cs
- ProviderConnectionPointCollection.cs
- TableLayoutColumnStyleCollection.cs
- DesignerActionUIStateChangeEventArgs.cs
- RelOps.cs
- ProvideValueServiceProvider.cs
- JsonFormatWriterGenerator.cs
- XmlDocumentType.cs
- Geometry3D.cs
- XmlSchemaDocumentation.cs
- TransportSecurityHelpers.cs
- SequenceRange.cs
- MetadataWorkspace.cs
- XmlWriter.cs
- PrivacyNoticeElement.cs
- ZoneMembershipCondition.cs
- FragmentQueryKB.cs
- CancelRequestedQuery.cs
- ScrollData.cs
- BinaryObjectWriter.cs
- FieldTemplateUserControl.cs
- ContainerControl.cs
- NumberSubstitution.cs
- TypedColumnHandler.cs
- EntityClassGenerator.cs
- RootBuilder.cs
- PointLight.cs
- SystemIPGlobalProperties.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ThreadAbortException.cs
- SafeNativeMethodsMilCoreApi.cs
- XmlEncoding.cs
- DataRowView.cs
- AsyncSerializedWorker.cs
- SQLChars.cs
- TextBoxRenderer.cs
- HtmlInputHidden.cs
- OverrideMode.cs
- DPCustomTypeDescriptor.cs
- FontInfo.cs
- SettingsProviderCollection.cs
- PanelDesigner.cs
- Executor.cs
- WorkflowElementDialog.cs
- AppDomainUnloadedException.cs
- DbConvert.cs
- Switch.cs
- HttpModuleActionCollection.cs
- BackoffTimeoutHelper.cs
- StorageMappingItemLoader.cs
- DatatypeImplementation.cs
- COM2EnumConverter.cs
- QuaternionAnimation.cs
- ProcessRequestAsyncResult.cs
- PointCollection.cs
- recordstate.cs
- PrivilegedConfigurationManager.cs
- GraphicsState.cs
- PageScaling.cs
- GraphicsState.cs
- documentsequencetextcontainer.cs
- LogStream.cs
- MimeTextImporter.cs
- WebPartVerb.cs
- GAC.cs
- CodeMemberProperty.cs
- DispatchWrapper.cs
- ProgressBarBrushConverter.cs
- DbMetaDataColumnNames.cs
- TypeCollectionPropertyEditor.cs
- URLIdentityPermission.cs
- EncryptedReference.cs
- Compensation.cs
- PrintDialogException.cs
- SqlProviderManifest.cs
- EventLog.cs
- PackageDigitalSignatureManager.cs
- WebSysDefaultValueAttribute.cs
- X509Certificate.cs
- MyContact.cs
- AutomationPropertyInfo.cs
- RubberbandSelector.cs
- BamlLocalizer.cs
- GZipObjectSerializer.cs
- ApplicationDirectory.cs
- Renderer.cs
- Stack.cs
- HttpRawResponse.cs
- ReferencedType.cs
- DbConnectionPoolGroup.cs
- ArrayList.cs
- Multiply.cs