Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / LinqDataSourceUpdateEventArgs.cs / 1305376 / LinqDataSourceUpdateEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { #else namespace System.Web.UI.WebControls { #endif using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; public class LinqDataSourceUpdateEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _originalObject; private object _newObject; [SuppressMessage("Microsoft.Naming", "CA1720:AvoidTypeNamesInParameters", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceUpdateEventArgs(object originalObject, object newObject) { _originalObject = originalObject; _newObject = newObject; } public LinqDataSourceUpdateEventArgs(LinqDataSourceValidationException exception) { _exception = exception; } public LinqDataSourceValidationException Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object OriginalObject { get { return _originalObject; } } public object NewObject { get { return _newObject; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { #else namespace System.Web.UI.WebControls { #endif using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; public class LinqDataSourceUpdateEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _originalObject; private object _newObject; [SuppressMessage("Microsoft.Naming", "CA1720:AvoidTypeNamesInParameters", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceUpdateEventArgs(object originalObject, object newObject) { _originalObject = originalObject; _newObject = newObject; } public LinqDataSourceUpdateEventArgs(LinqDataSourceValidationException exception) { _exception = exception; } public LinqDataSourceValidationException Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object OriginalObject { get { return _originalObject; } } public object NewObject { get { return _newObject; } } } } // 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
- ConfigurationSectionGroup.cs
- X509CertificateRecipientClientCredential.cs
- PageParser.cs
- CompilerLocalReference.cs
- System.Data_BID.cs
- TreeView.cs
- ItemCheckedEvent.cs
- RadioButtonAutomationPeer.cs
- Bind.cs
- GradientSpreadMethodValidation.cs
- ResourceSet.cs
- DrawingDrawingContext.cs
- TextBoxView.cs
- SchemaImporterExtensionElementCollection.cs
- MimeWriter.cs
- TextRangeEdit.cs
- ListViewDataItem.cs
- Size3D.cs
- ChannelBinding.cs
- LoginName.cs
- CultureMapper.cs
- CodeAssignStatement.cs
- DescendentsWalkerBase.cs
- RuleSetCollection.cs
- wmiprovider.cs
- SQLConvert.cs
- MinimizableAttributeTypeConverter.cs
- ToolboxBitmapAttribute.cs
- ToolboxItem.cs
- WebBaseEventKeyComparer.cs
- MulticastNotSupportedException.cs
- AnnotationHighlightLayer.cs
- GeneralTransform3DCollection.cs
- PopupControlService.cs
- HttpException.cs
- PageContent.cs
- ExternalDataExchangeService.cs
- TextRangeEditLists.cs
- ComPlusTypeValidator.cs
- ServiceHttpHandlerFactory.cs
- LineGeometry.cs
- CreateInstanceBinder.cs
- XmlCountingReader.cs
- DeploymentSection.cs
- ToolStripContentPanelRenderEventArgs.cs
- StructuredTypeEmitter.cs
- ConversionContext.cs
- OracleRowUpdatedEventArgs.cs
- EnumerableRowCollectionExtensions.cs
- TraceSwitch.cs
- ClientTargetCollection.cs
- ToolStripLabel.cs
- BackStopAuthenticationModule.cs
- UnmanagedHandle.cs
- FixedPage.cs
- CellQuery.cs
- ReverseInheritProperty.cs
- ManualResetEvent.cs
- LOSFormatter.cs
- RangeValuePatternIdentifiers.cs
- DataTrigger.cs
- QilExpression.cs
- ListView.cs
- InputLanguageProfileNotifySink.cs
- SmiRequestExecutor.cs
- WebServiceTypeData.cs
- Label.cs
- ProjectionPruner.cs
- SAPICategories.cs
- JsonEnumDataContract.cs
- ProfileGroupSettingsCollection.cs
- ObjectAssociationEndMapping.cs
- DependentList.cs
- Size.cs
- ZoneLinkButton.cs
- ImageMap.cs
- CaseKeyBox.xaml.cs
- CheckBoxFlatAdapter.cs
- Label.cs
- RelativeSource.cs
- TableColumn.cs
- DataGridItem.cs
- ToolTipAutomationPeer.cs
- Attributes.cs
- SrgsRuleRef.cs
- EvidenceTypeDescriptor.cs
- LinkArea.cs
- ReliabilityContractAttribute.cs
- Composition.cs
- ValueChangedEventManager.cs
- HostedHttpRequestAsyncResult.cs
- UnknownBitmapDecoder.cs
- VariableExpressionConverter.cs
- FilteredAttributeCollection.cs
- GradientSpreadMethodValidation.cs
- ClientProtocol.cs
- EmptyElement.cs
- httpstaticobjectscollection.cs
- TemplateBuilder.cs
- cache.cs