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
- ToolstripProfessionalRenderer.cs
- ExtentJoinTreeNode.cs
- DetailsViewDesigner.cs
- UnsafeNativeMethods.cs
- DetailsViewPageEventArgs.cs
- IdnMapping.cs
- FormattedText.cs
- CreateUserErrorEventArgs.cs
- AttachInfo.cs
- TreeNodeCollection.cs
- DbProviderManifest.cs
- IisTraceListener.cs
- XPathArrayIterator.cs
- Camera.cs
- HtmlFormParameterReader.cs
- TextServicesCompartmentContext.cs
- MatrixConverter.cs
- EncodingNLS.cs
- SerializationAttributes.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- BoolExpressionVisitors.cs
- OutKeywords.cs
- oledbmetadatacollectionnames.cs
- GridViewRowEventArgs.cs
- CompiledELinqQueryState.cs
- TargetException.cs
- UdpDuplexChannel.cs
- HyperlinkAutomationPeer.cs
- FlowLayoutPanel.cs
- LineUtil.cs
- GZipStream.cs
- KnownTypes.cs
- DesignerRegionCollection.cs
- QilLiteral.cs
- GeometryCombineModeValidation.cs
- Int32AnimationUsingKeyFrames.cs
- SmiEventSink_Default.cs
- login.cs
- ProcessHostConfigUtils.cs
- milexports.cs
- AttributeCollection.cs
- XmlObjectSerializer.cs
- ByeMessage11.cs
- ValidateNames.cs
- AuthorizationSection.cs
- ReflectionHelper.cs
- StreamResourceInfo.cs
- FocusChangedEventArgs.cs
- XPathDocumentNavigator.cs
- StylusPointProperty.cs
- Sequence.cs
- RegexStringValidator.cs
- WorkflowApplicationCompletedException.cs
- TransactionProtocolConverter.cs
- MatchingStyle.cs
- BaseParser.cs
- DataMemberAttribute.cs
- RadioButtonStandardAdapter.cs
- ClonableStack.cs
- WindowsListViewGroupHelper.cs
- ExceptionDetail.cs
- WebEventCodes.cs
- DetailsViewUpdateEventArgs.cs
- HandleRef.cs
- BindingContext.cs
- DefaultTraceListener.cs
- Divide.cs
- DATA_BLOB.cs
- CharKeyFrameCollection.cs
- CodeAttributeDeclarationCollection.cs
- SoapObjectReader.cs
- Socket.cs
- Asn1IntegerConverter.cs
- TableLayoutSettings.cs
- TypeResolver.cs
- CompositeDataBoundControl.cs
- ChtmlCommandAdapter.cs
- BasicViewGenerator.cs
- ValidationContext.cs
- SynchronizationHandlesCodeDomSerializer.cs
- SqlCacheDependencyDatabase.cs
- CommonRemoteMemoryBlock.cs
- GB18030Encoding.cs
- control.ime.cs
- DesignerVerbToolStripMenuItem.cs
- OneWayBindingElement.cs
- SmtpAuthenticationManager.cs
- ICspAsymmetricAlgorithm.cs
- GridViewRowEventArgs.cs
- FileStream.cs
- ItemCheckEvent.cs
- TextRunCache.cs
- XsltFunctions.cs
- LinqMaximalSubtreeNominator.cs
- ToolStripStatusLabel.cs
- MetadataHelper.cs
- CacheModeConverter.cs
- DropDownButton.cs
- SafeNativeMethods.cs
- SupportingTokenChannel.cs