Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ErrorProvider.cs
- EncodedStreamFactory.cs
- StringFunctions.cs
- XamlSerializer.cs
- AudioStateChangedEventArgs.cs
- ISAPIApplicationHost.cs
- WebRequestModuleElementCollection.cs
- ProtectedConfigurationProviderCollection.cs
- GridItemPattern.cs
- WhitespaceRuleReader.cs
- IssuedTokenParametersEndpointAddressElement.cs
- DocumentOrderQuery.cs
- WorkflowPersistenceService.cs
- LinkedResource.cs
- XPathNode.cs
- Pkcs9Attribute.cs
- EntityDataSourceWrapperCollection.cs
- ServiceHostingEnvironment.cs
- FixedPageStructure.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- QueryModel.cs
- WebConfigurationFileMap.cs
- ResourcesChangeInfo.cs
- DrawingGroupDrawingContext.cs
- GuidelineSet.cs
- DataServiceQueryOfT.cs
- LockedAssemblyCache.cs
- ListViewItemMouseHoverEvent.cs
- OleDbConnection.cs
- NaturalLanguageHyphenator.cs
- FilteredAttributeCollection.cs
- SafeTimerHandle.cs
- ReferentialConstraint.cs
- RepeaterDataBoundAdapter.cs
- DependencyProperty.cs
- OleDbErrorCollection.cs
- SqlLiftIndependentRowExpressions.cs
- ItemsChangedEventArgs.cs
- NetworkCredential.cs
- PageStatePersister.cs
- Button.cs
- BitmapFrameEncode.cs
- BuilderPropertyEntry.cs
- PrintDocument.cs
- PointLightBase.cs
- InvariantComparer.cs
- PassportPrincipal.cs
- DBBindings.cs
- MultiTargetingUtil.cs
- BuilderElements.cs
- Literal.cs
- TextRangeEditLists.cs
- DeviceSpecificChoice.cs
- InheritanceContextChangedEventManager.cs
- SqlDataSourceSummaryPanel.cs
- MyContact.cs
- CompilerCollection.cs
- ActivityCodeGenerator.cs
- StylesEditorDialog.cs
- ObjectCache.cs
- TrackingParameters.cs
- SessionIDManager.cs
- DictionarySectionHandler.cs
- OleDbCommandBuilder.cs
- Event.cs
- MatcherBuilder.cs
- shaperfactoryquerycacheentry.cs
- CodeIdentifier.cs
- HttpPostedFileBase.cs
- Permission.cs
- NumericExpr.cs
- Transactions.cs
- SequentialOutput.cs
- XmlIgnoreAttribute.cs
- ThemeInfoAttribute.cs
- FixedPageProcessor.cs
- CharacterBufferReference.cs
- TableParagraph.cs
- TypeForwardedToAttribute.cs
- ProtocolElementCollection.cs
- TextDecorationCollectionConverter.cs
- DataTableExtensions.cs
- ZipFileInfoCollection.cs
- QueryStack.cs
- DecimalSumAggregationOperator.cs
- NonParentingControl.cs
- WebExceptionStatus.cs
- StagingAreaInputItem.cs
- RectIndependentAnimationStorage.cs
- InfoCardPolicy.cs
- TraceRecord.cs
- CodeDomSerializationProvider.cs
- externdll.cs
- ProvidePropertyAttribute.cs
- SchemaConstraints.cs
- UserPreferenceChangingEventArgs.cs
- AssemblyAttributes.cs
- ClonableStack.cs
- PersonalizablePropertyEntry.cs
- RangeValueProviderWrapper.cs