Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlTypesSchemaImporter.cs
- FullTextBreakpoint.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- UnknownWrapper.cs
- SpotLight.cs
- CharUnicodeInfo.cs
- PathData.cs
- LocalizableAttribute.cs
- HtmlTableRowCollection.cs
- SatelliteContractVersionAttribute.cs
- ProgressBarAutomationPeer.cs
- EnumUnknown.cs
- NativeMethods.cs
- wmiprovider.cs
- FileIOPermission.cs
- PageHandlerFactory.cs
- DSACryptoServiceProvider.cs
- WmfPlaceableFileHeader.cs
- GeneratedView.cs
- Double.cs
- RelatedCurrencyManager.cs
- BaseParagraph.cs
- InputScopeConverter.cs
- Label.cs
- XmlQualifiedName.cs
- brushes.cs
- BamlStream.cs
- FlowDocumentReader.cs
- assemblycache.cs
- ContentPlaceHolder.cs
- DataFormat.cs
- DataRow.cs
- Label.cs
- RelationshipEnd.cs
- WebBrowserPermission.cs
- Win32MouseDevice.cs
- WmlCalendarAdapter.cs
- RelationshipEndCollection.cs
- TraceContext.cs
- HttpStreamFormatter.cs
- WebPartAddingEventArgs.cs
- ProgressBarHighlightConverter.cs
- GifBitmapDecoder.cs
- DataGridColumnEventArgs.cs
- ResourceReader.cs
- TypeEnumerableViewSchema.cs
- CompiledIdentityConstraint.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- CallContext.cs
- Timer.cs
- _SpnDictionary.cs
- SplitterPanel.cs
- ImageListUtils.cs
- HandlerFactoryCache.cs
- SoapInteropTypes.cs
- ArraySubsetEnumerator.cs
- ParseHttpDate.cs
- AvTraceDetails.cs
- ErrorProvider.cs
- CodeMethodReturnStatement.cs
- SoapCommonClasses.cs
- IntSecurity.cs
- WindowsNonControl.cs
- ISCIIEncoding.cs
- CollectionChangeEventArgs.cs
- EventLogInformation.cs
- DataListItemEventArgs.cs
- ValidationHelper.cs
- TimeSpan.cs
- ValidatedMobileControlConverter.cs
- CurrentChangingEventManager.cs
- XmlLinkedNode.cs
- WorkflowInstance.cs
- ScriptModule.cs
- Hashtable.cs
- XmlObjectSerializerContext.cs
- TokenCreationException.cs
- OracleInfoMessageEventArgs.cs
- SecurityResources.cs
- RijndaelManaged.cs
- TemplateBindingExtension.cs
- DbProviderServices.cs
- ToolStripScrollButton.cs
- TypeLoader.cs
- ConfigurationSectionCollection.cs
- RIPEMD160Managed.cs
- IResourceProvider.cs
- Tag.cs
- SqlWebEventProvider.cs
- SharedStatics.cs
- UnknownMessageReceivedEventArgs.cs
- SystemColors.cs
- ReaderWriterLockWrapper.cs
- EntitySetDataBindingList.cs
- BasicViewGenerator.cs
- Directory.cs
- PersonalizableAttribute.cs
- CommonXSendMessage.cs
- Trustee.cs
- SchemaImporterExtensionsSection.cs