Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / LinqDataSourceInsertEventArgs.cs / 1305376 / LinqDataSourceInsertEventArgs.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 LinqDataSourceInsertEventArgs : CancelEventArgs { private LinqDataSourceValidationException _exception; private bool _exceptionHandled; private object _newObject; [SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId = "object", Justification = "Names are consistent with those used in the ObjectDataSource classes")] public LinqDataSourceInsertEventArgs(object newObject) { _newObject = newObject; } public LinqDataSourceInsertEventArgs(LinqDataSourceValidationException exception) { _exception = exception; } public LinqDataSourceValidationException Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } 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
- XPathNodeIterator.cs
- StreamGeometry.cs
- formatter.cs
- ValueConversionAttribute.cs
- InputScope.cs
- WindowCollection.cs
- EpmContentDeSerializer.cs
- DesignDataSource.cs
- Transform.cs
- ButtonChrome.cs
- ClientTargetCollection.cs
- PerformanceCounterLib.cs
- ContextProperty.cs
- SystemIPAddressInformation.cs
- BridgeDataReader.cs
- Decimal.cs
- SystemInfo.cs
- NamespaceMapping.cs
- OciEnlistContext.cs
- ListDataHelper.cs
- SafeEventLogWriteHandle.cs
- DiagnosticsConfiguration.cs
- TrackingStringDictionary.cs
- X509Certificate2.cs
- WindowsComboBox.cs
- PageThemeParser.cs
- StringSource.cs
- XmlSignatureProperties.cs
- AppSettingsReader.cs
- ClientSideQueueItem.cs
- RectangleGeometry.cs
- SmiSettersStream.cs
- AssociationEndMember.cs
- TcpTransportSecurityElement.cs
- GridViewItemAutomationPeer.cs
- ConstantProjectedSlot.cs
- OdbcConnectionOpen.cs
- UseAttributeSetsAction.cs
- SQLConvert.cs
- StylusPointProperty.cs
- HttpChannelHelper.cs
- PerformanceCounterPermission.cs
- XsltInput.cs
- storagemappingitemcollection.viewdictionary.cs
- HighlightVisual.cs
- LateBoundBitmapDecoder.cs
- HyperLinkField.cs
- ConditionalAttribute.cs
- OracleMonthSpan.cs
- SynchronizedDispatch.cs
- ChildTable.cs
- DataGridViewTopLeftHeaderCell.cs
- BamlBinaryReader.cs
- ClipboardProcessor.cs
- _SpnDictionary.cs
- InitializationEventAttribute.cs
- FigureHelper.cs
- CodeDomConfigurationHandler.cs
- UriSectionReader.cs
- FontFamily.cs
- FileVersionInfo.cs
- NullReferenceException.cs
- ValidatorUtils.cs
- SystemInformation.cs
- LinkLabel.cs
- ControlTemplate.cs
- ProgressBar.cs
- SspiHelper.cs
- EventTrigger.cs
- CorruptStoreException.cs
- Vector3DIndependentAnimationStorage.cs
- ExchangeUtilities.cs
- linebase.cs
- WindowsScrollBar.cs
- Globals.cs
- TemplateNameScope.cs
- XmlEnumAttribute.cs
- FormViewCommandEventArgs.cs
- SharedUtils.cs
- AsyncInvokeOperation.cs
- ProtocolsSection.cs
- TextSelection.cs
- AppDomain.cs
- ProxyGenerator.cs
- SamlEvidence.cs
- DynamicRenderer.cs
- SourceSwitch.cs
- XMLSyntaxException.cs
- BitmapEffectDrawing.cs
- EntityDataSourceSelectingEventArgs.cs
- RenderTargetBitmap.cs
- ModuleConfigurationInfo.cs
- PagesSection.cs
- NameSpaceExtractor.cs
- GlyphRunDrawing.cs
- RtfToXamlLexer.cs
- SqlTypeSystemProvider.cs
- AccessDataSource.cs
- TextEditorTyping.cs
- SpellerError.cs