Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / LinqDataSourceUpdateEventArgs.cs / 1305376 / LinqDataSourceUpdateEventArgs.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 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. // //----------------------------------------------------------------------------- #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 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
- _HelperAsyncResults.cs
- NotSupportedException.cs
- Pointer.cs
- LinqDataSourceView.cs
- BrowserCapabilitiesFactoryBase.cs
- ServiceBuildProvider.cs
- ZeroOpNode.cs
- FrameworkElementFactory.cs
- CheckBoxField.cs
- GenericAuthenticationEventArgs.cs
- HtmlTextArea.cs
- DbMetaDataCollectionNames.cs
- EntityDataSourceContextDisposingEventArgs.cs
- ImageCreator.cs
- Int16KeyFrameCollection.cs
- SupportsPreviewControlAttribute.cs
- SrgsText.cs
- ProviderSettings.cs
- SQLBinary.cs
- RTLAwareMessageBox.cs
- SignedPkcs7.cs
- DocumentViewerHelper.cs
- NativeMethods.cs
- PagePropertiesChangingEventArgs.cs
- Control.cs
- EditableTreeList.cs
- PageContentCollection.cs
- AuthenticationManager.cs
- ModelItemDictionaryImpl.cs
- PeerName.cs
- MimeFormReflector.cs
- Queue.cs
- WaitForChangedResult.cs
- WindowsFormsSynchronizationContext.cs
- CodeVariableReferenceExpression.cs
- SafeFileMapViewHandle.cs
- TimeSpanValidator.cs
- XamlReaderHelper.cs
- BrowserCapabilitiesFactoryBase.cs
- SoapFault.cs
- Module.cs
- MemoryResponseElement.cs
- WebPartHeaderCloseVerb.cs
- ExpressionEditorAttribute.cs
- ImmutablePropertyDescriptorGridEntry.cs
- HtmlContainerControl.cs
- ReflectTypeDescriptionProvider.cs
- OdbcConnectionOpen.cs
- RSAPKCS1SignatureDeformatter.cs
- MessageQueueAccessControlEntry.cs
- AppSettingsExpressionBuilder.cs
- WindowsToolbarItemAsMenuItem.cs
- SharedStatics.cs
- StylusButtonCollection.cs
- StringResourceManager.cs
- ConstNode.cs
- OutKeywords.cs
- XsltSettings.cs
- WinInetCache.cs
- InstanceData.cs
- XPathScanner.cs
- HttpListenerPrefixCollection.cs
- AssociationSetEnd.cs
- QilGenerator.cs
- PreApplicationStartMethodAttribute.cs
- categoryentry.cs
- initElementDictionary.cs
- PropertyManager.cs
- DbConnectionStringBuilder.cs
- IncrementalHitTester.cs
- PageTheme.cs
- DataGridViewDataConnection.cs
- HintTextConverter.cs
- UpnEndpointIdentityExtension.cs
- RegistryExceptionHelper.cs
- FileDialog_Vista_Interop.cs
- SingletonInstanceContextProvider.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- RawStylusInputCustomData.cs
- ShaderRenderModeValidation.cs
- SmiEventSink_DeferedProcessing.cs
- HitTestResult.cs
- HelpEvent.cs
- DataServiceHostWrapper.cs
- ResourceManager.cs
- SessionStateSection.cs
- Parameter.cs
- CheckPair.cs
- EmptyEnumerator.cs
- DataGridSortCommandEventArgs.cs
- Identifier.cs
- RtType.cs
- Size3DValueSerializer.cs
- NonDualMessageSecurityOverHttpElement.cs
- SqlWebEventProvider.cs
- CodeMemberEvent.cs
- DataBoundControlHelper.cs
- WebPartConnectionsConfigureVerb.cs
- JpegBitmapDecoder.cs
- PersianCalendar.cs