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
- ToolStripDropDownItem.cs
- DataControlFieldCell.cs
- MsmqProcessProtocolHandler.cs
- SafeSecurityHandles.cs
- DataGridViewTextBoxEditingControl.cs
- SqlNotificationRequest.cs
- QualificationDataAttribute.cs
- VisualCollection.cs
- BasicBrowserDialog.designer.cs
- XmlSchemaType.cs
- Trace.cs
- RowBinding.cs
- TextTreeUndoUnit.cs
- SqlInternalConnectionTds.cs
- IResourceProvider.cs
- ListViewCommandEventArgs.cs
- ArgumentException.cs
- Window.cs
- Symbol.cs
- TransformPatternIdentifiers.cs
- HotSpotCollectionEditor.cs
- DesignBindingPicker.cs
- BitmapPalettes.cs
- SlipBehavior.cs
- LinqDataSourceUpdateEventArgs.cs
- ProxyWebPartManager.cs
- AttributeEmitter.cs
- SettingsPropertyNotFoundException.cs
- ScrollViewerAutomationPeer.cs
- EntitySqlQueryState.cs
- RightsManagementSuppressedStream.cs
- SoapWriter.cs
- Camera.cs
- ObjectListDesigner.cs
- ErrorLog.cs
- GuidelineCollection.cs
- StylusShape.cs
- DefaultWorkflowSchedulerService.cs
- FrameworkElement.cs
- CharacterMetrics.cs
- ExternalFile.cs
- DeviceContext.cs
- FunctionQuery.cs
- FontFamily.cs
- HttpRuntimeSection.cs
- MatchNoneMessageFilter.cs
- QueueAccessMode.cs
- StreamWithDictionary.cs
- PageThemeCodeDomTreeGenerator.cs
- GridViewHeaderRowPresenter.cs
- DodSequenceMerge.cs
- WriteStateInfoBase.cs
- DocumentApplicationJournalEntry.cs
- Point3D.cs
- SecurityResources.cs
- ScriptModule.cs
- WinEventQueueItem.cs
- ResourceContainer.cs
- RegexWriter.cs
- EventLogPermissionAttribute.cs
- DockProviderWrapper.cs
- WebUtil.cs
- ResourceAttributes.cs
- TypeConverterAttribute.cs
- DataGridViewTextBoxEditingControl.cs
- AspNetSynchronizationContext.cs
- LinearKeyFrames.cs
- RelationshipManager.cs
- FilteredAttributeCollection.cs
- HttpStreamXmlDictionaryReader.cs
- Menu.cs
- FormParameter.cs
- ToolStripSeparatorRenderEventArgs.cs
- Debug.cs
- Compiler.cs
- TagElement.cs
- XmlSchemaAppInfo.cs
- WebScriptServiceHost.cs
- ItemCollection.cs
- SingleTagSectionHandler.cs
- NamespaceInfo.cs
- PartialCachingAttribute.cs
- ApplicationTrust.cs
- dsa.cs
- WebServiceClientProxyGenerator.cs
- Random.cs
- HostingEnvironmentWrapper.cs
- WebPartUserCapability.cs
- RegexFCD.cs
- XamlParser.cs
- ProtectedConfigurationSection.cs
- ExeConfigurationFileMap.cs
- SchemaSetCompiler.cs
- SQLBinary.cs
- DateTimeConverter.cs
- SafeSecurityHelper.cs
- ColumnMapVisitor.cs
- FixedSOMTableRow.cs
- WebServiceReceiveDesigner.cs
- Grammar.cs