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
- RenderTargetBitmap.cs
- HtmlTable.cs
- OleDbMetaDataFactory.cs
- CodeCatchClauseCollection.cs
- AppearanceEditorPart.cs
- TransformPatternIdentifiers.cs
- wgx_commands.cs
- StatusBar.cs
- SafeRightsManagementPubHandle.cs
- DrawingContextDrawingContextWalker.cs
- ActivationServices.cs
- DiscoveryClientReferences.cs
- PropertyInfoSet.cs
- CatalogPartCollection.cs
- DependencyPropertyChangedEventArgs.cs
- BindingCompleteEventArgs.cs
- AutoGeneratedField.cs
- ColorIndependentAnimationStorage.cs
- StreamSecurityUpgradeInitiator.cs
- TextOutput.cs
- PointAnimation.cs
- SchemaAttDef.cs
- StsCommunicationException.cs
- ProxyHwnd.cs
- MouseDevice.cs
- QilList.cs
- HuffModule.cs
- IdnElement.cs
- XsdBuildProvider.cs
- ObjectCloneHelper.cs
- BindingUtils.cs
- GraphicsPathIterator.cs
- OleDbFactory.cs
- ProtocolViolationException.cs
- Bitmap.cs
- RegexRunner.cs
- MulticastIPAddressInformationCollection.cs
- WinEventTracker.cs
- HttpCookiesSection.cs
- AddInSegmentDirectoryNotFoundException.cs
- InvariantComparer.cs
- DtrList.cs
- OrderByExpression.cs
- ObjectItemConventionAssemblyLoader.cs
- ThemeConfigurationDialog.cs
- EntitySetDataBindingList.cs
- NonVisualControlAttribute.cs
- CompositeCollectionView.cs
- StringComparer.cs
- MenuAutomationPeer.cs
- CriticalFinalizerObject.cs
- IdentityNotMappedException.cs
- ConfigurationManagerHelperFactory.cs
- OrderingInfo.cs
- VectorCollectionConverter.cs
- SafeEventHandle.cs
- ProfileSettingsCollection.cs
- CodeIdentifiers.cs
- DataGridViewColumnHeaderCell.cs
- StreamUpgradeProvider.cs
- SoapSchemaExporter.cs
- XmlQueryType.cs
- HttpApplicationFactory.cs
- DependencyObjectPropertyDescriptor.cs
- SqlPersonalizationProvider.cs
- DmlSqlGenerator.cs
- SignatureDescription.cs
- GridViewCommandEventArgs.cs
- Color.cs
- odbcmetadatafactory.cs
- NamespaceExpr.cs
- AssemblyAssociatedContentFileAttribute.cs
- Rect.cs
- METAHEADER.cs
- AsyncCallback.cs
- XmlValidatingReader.cs
- StorageModelBuildProvider.cs
- ToolStripSettings.cs
- WebWorkflowRole.cs
- TypeAccessException.cs
- Int32RectConverter.cs
- BaseTemplateCodeDomTreeGenerator.cs
- TableLayoutPanel.cs
- XmlAnyElementAttributes.cs
- DataGridColumnEventArgs.cs
- PersonalizationStateInfo.cs
- UserControl.cs
- NumberAction.cs
- OneToOneMappingSerializer.cs
- FileDialog.cs
- ObservableCollection.cs
- LocatorPartList.cs
- DataGridAutoFormatDialog.cs
- FileDialog_Vista.cs
- XmlIgnoreAttribute.cs
- ProfileManager.cs
- SystemParameters.cs
- HttpDebugHandler.cs
- PaginationProgressEventArgs.cs
- GZipStream.cs