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
- EditingScope.cs
- FamilyMap.cs
- ListViewTableRow.cs
- Util.cs
- ChooseAction.cs
- SamlAction.cs
- documentsequencetextpointer.cs
- AxisAngleRotation3D.cs
- InputReportEventArgs.cs
- WebPartMenuStyle.cs
- DrawingContextWalker.cs
- RegexRunner.cs
- FamilyCollection.cs
- GregorianCalendarHelper.cs
- Path.cs
- Compilation.cs
- LayoutSettings.cs
- DataServiceRequestException.cs
- AxHost.cs
- NameHandler.cs
- SerialPort.cs
- EntityDataSourceEntitySetNameItem.cs
- SessionIDManager.cs
- PersonalizationEntry.cs
- TreeViewHitTestInfo.cs
- HttpEncoder.cs
- XmlSchemaSubstitutionGroup.cs
- ServiceContractListItemList.cs
- AnnotationService.cs
- WpfPayload.cs
- ObjectListShowCommandsEventArgs.cs
- ToolStripSettings.cs
- SoapUnknownHeader.cs
- TreeBuilder.cs
- EdmEntityTypeAttribute.cs
- HitTestFilterBehavior.cs
- CSharpCodeProvider.cs
- ToolStripContainerActionList.cs
- OdbcConnectionFactory.cs
- DirectoryObjectSecurity.cs
- ColorContextHelper.cs
- TextEditorDragDrop.cs
- SelectorItemAutomationPeer.cs
- SessionStateUtil.cs
- ByteKeyFrameCollection.cs
- FixedSOMGroup.cs
- QueryCacheEntry.cs
- SlipBehavior.cs
- PropertyInfoSet.cs
- DesignTimeParseData.cs
- Decimal.cs
- XmlDeclaration.cs
- UnsupportedPolicyOptionsException.cs
- BitmapEffectDrawingContent.cs
- XmlSchemaGroupRef.cs
- WebPartConnectionsCancelVerb.cs
- ExpressionHelper.cs
- ServiceContractGenerationContext.cs
- ConstraintCollection.cs
- XmlSchemaAnyAttribute.cs
- ParamArrayAttribute.cs
- DependencyPropertyValueSerializer.cs
- HwndMouseInputProvider.cs
- Util.cs
- MediaTimeline.cs
- ObjectQueryExecutionPlan.cs
- HttpListenerException.cs
- GeneratedCodeAttribute.cs
- _TimerThread.cs
- PolicyChain.cs
- GlyphRun.cs
- XmlSchemaImporter.cs
- PerfService.cs
- TreeViewImageIndexConverter.cs
- QilPatternVisitor.cs
- Array.cs
- TagPrefixInfo.cs
- SqlServer2KCompatibilityAnnotation.cs
- ResXResourceReader.cs
- XmlSchemaIdentityConstraint.cs
- Image.cs
- sqlmetadatafactory.cs
- TypeToken.cs
- DynamicField.cs
- DataBoundControl.cs
- WebPartTransformer.cs
- RC2CryptoServiceProvider.cs
- SqlGatherConsumedAliases.cs
- HebrewNumber.cs
- MatrixValueSerializer.cs
- Header.cs
- ActivitiesCollection.cs
- NullableDecimalAverageAggregationOperator.cs
- XmlSchemaObject.cs
- ConfigurationElementProperty.cs
- ProfileSettings.cs
- SystemInfo.cs
- ApplicationServiceManager.cs
- DataServiceBuildProvider.cs
- WindowsFormsHostPropertyMap.cs