Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / LinqDataSourceUpdateEventArgs.cs / 1 / LinqDataSourceUpdateEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSerializerVersionAttribute.cs
- TaiwanCalendar.cs
- RuntimeComponentFilter.cs
- BlurBitmapEffect.cs
- DeviceContexts.cs
- ConnectionManagementSection.cs
- Metadata.cs
- XmlMessageFormatter.cs
- SystemIPGlobalStatistics.cs
- SpeakProgressEventArgs.cs
- XPathNodeHelper.cs
- SoapIncludeAttribute.cs
- IssuanceLicense.cs
- ElementNotEnabledException.cs
- DbConnectionStringBuilder.cs
- SystemParameters.cs
- ConfigXmlComment.cs
- LoginDesigner.cs
- ProgressPage.cs
- MetadataConversionError.cs
- ContainerUIElement3D.cs
- PointCollectionConverter.cs
- DiagnosticsConfigurationHandler.cs
- ShutDownListener.cs
- FormsAuthenticationConfiguration.cs
- InstanceCreationEditor.cs
- AssertSection.cs
- SelectedGridItemChangedEvent.cs
- TransactionTable.cs
- GridView.cs
- ProfileProvider.cs
- SystemResources.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- DataChangedEventManager.cs
- PartialCachingAttribute.cs
- DataGridViewColumn.cs
- ProcessThread.cs
- HttpServerUtilityWrapper.cs
- SessionStateUtil.cs
- SynchronizationContextHelper.cs
- IndexedSelectQueryOperator.cs
- DataGridViewCellStyleChangedEventArgs.cs
- TypeDependencyAttribute.cs
- SelectionEditingBehavior.cs
- GlyphElement.cs
- UnaryNode.cs
- ResizeGrip.cs
- ToolboxItemCollection.cs
- ValueUnavailableException.cs
- BitmapMetadataBlob.cs
- OptimalBreakSession.cs
- ContentIterators.cs
- CacheEntry.cs
- ToolStripItemCollection.cs
- CustomCategoryAttribute.cs
- AutomationPatternInfo.cs
- TransactionManager.cs
- WCFModelStrings.Designer.cs
- XPathPatternBuilder.cs
- LocalClientSecuritySettingsElement.cs
- AttachedPropertyDescriptor.cs
- HashSetEqualityComparer.cs
- FormViewInsertedEventArgs.cs
- TimersDescriptionAttribute.cs
- CompilationRelaxations.cs
- WindowsAuthenticationEventArgs.cs
- UpdateExpressionVisitor.cs
- MouseEvent.cs
- AssemblyAssociatedContentFileAttribute.cs
- RenderCapability.cs
- UserControlParser.cs
- FullTextLine.cs
- Slider.cs
- TraceUtils.cs
- ObjectSecurity.cs
- XmlSerializerAssemblyAttribute.cs
- RuleSettings.cs
- DCSafeHandle.cs
- StyleCollection.cs
- PointAnimationBase.cs
- SecurityRuntime.cs
- ToolTip.cs
- DataGridViewCellCancelEventArgs.cs
- RandomNumberGenerator.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SetUserPreferenceRequest.cs
- PropertyGeneratedEventArgs.cs
- UIElement.cs
- TokenFactoryFactory.cs
- PriorityQueue.cs
- GuidelineSet.cs
- LicFileLicenseProvider.cs
- oledbmetadatacollectionnames.cs
- LinkArea.cs
- Composition.cs
- UriTemplateVariableQueryValue.cs
- ToolStripOverflowButton.cs
- DefaultValueAttribute.cs
- SystemIPInterfaceStatistics.cs
- DataRelationCollection.cs