Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceChangedEventArgs.cs / 1 / EntityDataSourceChangedEventArgs.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner objsdev //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Objects; namespace System.Web.UI.WebControls { public class EntityDataSourceChangedEventArgs : EventArgs { private readonly ObjectContext _context; private readonly Exception _exception = null; private bool _exceptionHandled = false; private readonly object _entity = null; internal EntityDataSourceChangedEventArgs(ObjectContext context, object entity) { _context = context; _entity = entity; } internal EntityDataSourceChangedEventArgs(Exception exception) { _exception = exception; } public Exception Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object Entity { get { return _entity; } } public ObjectContext Context { get { return _context; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner objsdev //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Objects; namespace System.Web.UI.WebControls { public class EntityDataSourceChangedEventArgs : EventArgs { private readonly ObjectContext _context; private readonly Exception _exception = null; private bool _exceptionHandled = false; private readonly object _entity = null; internal EntityDataSourceChangedEventArgs(ObjectContext context, object entity) { _context = context; _entity = entity; } internal EntityDataSourceChangedEventArgs(Exception exception) { _exception = exception; } public Exception Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object Entity { get { return _entity; } } public ObjectContext Context { get { return _context; } } } } // 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
- CodeVariableReferenceExpression.cs
- CodeFieldReferenceExpression.cs
- LoadWorkflowCommand.cs
- diagnosticsswitches.cs
- HtmlPhoneCallAdapter.cs
- HtmlInputButton.cs
- Transform.cs
- BasePattern.cs
- RichTextBoxAutomationPeer.cs
- StrokeSerializer.cs
- EntityDesignerBuildProvider.cs
- GuidelineSet.cs
- AttributeXamlType.cs
- ProcessThreadCollection.cs
- MyContact.cs
- NullRuntimeConfig.cs
- StateMachineSubscriptionManager.cs
- XdrBuilder.cs
- AsyncPostBackTrigger.cs
- BamlBinaryReader.cs
- StsCommunicationException.cs
- XmlDataCollection.cs
- AppModelKnownContentFactory.cs
- SizeF.cs
- JsonReaderDelegator.cs
- OdbcErrorCollection.cs
- ResizeBehavior.cs
- EntityCodeGenerator.cs
- ObjectDataSourceDesigner.cs
- QilDataSource.cs
- assemblycache.cs
- HttpHostedTransportConfiguration.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- NativeWindow.cs
- ModuleConfigurationInfo.cs
- SQLInt16Storage.cs
- AuthenticationSection.cs
- PolyBezierSegment.cs
- ImageFormat.cs
- Validator.cs
- PathFigureCollection.cs
- WebPartConnectionsCancelVerb.cs
- TypeNameConverter.cs
- DatePickerAutomationPeer.cs
- PropertyPathWorker.cs
- SpotLight.cs
- StylusPointPropertyId.cs
- OracleTimeSpan.cs
- LinqDataSourceHelper.cs
- MailAddress.cs
- SiteMapSection.cs
- ProgressBarRenderer.cs
- MissingSatelliteAssemblyException.cs
- CodeTypeReference.cs
- WebPartEventArgs.cs
- TableSectionStyle.cs
- LayoutManager.cs
- MatcherBuilder.cs
- XmlReaderSettings.cs
- ConnectionPoint.cs
- PrintController.cs
- SortKey.cs
- FileDialogCustomPlace.cs
- SafeFindHandle.cs
- HttpChannelHelper.cs
- VoiceObjectToken.cs
- ExpressionBindingCollection.cs
- AbandonedMutexException.cs
- InvokeProviderWrapper.cs
- SoapAttributeAttribute.cs
- XmlDocumentViewSchema.cs
- LinqDataSourceDeleteEventArgs.cs
- SocketInformation.cs
- UpdateCompiler.cs
- EndpointBehaviorElement.cs
- NavigationCommands.cs
- Simplifier.cs
- PowerEase.cs
- AtomServiceDocumentSerializer.cs
- Crc32.cs
- ClipboardProcessor.cs
- EventListener.cs
- DataViewListener.cs
- RepeaterItem.cs
- OrderedDictionaryStateHelper.cs
- PageBuildProvider.cs
- VirtualPathProvider.cs
- StrokeRenderer.cs
- DrawingState.cs
- Pair.cs
- SafeMILHandle.cs
- DomainUpDown.cs
- SingleAnimation.cs
- Shape.cs
- EnumValAlphaComparer.cs
- MdiWindowListStrip.cs
- AssociationEndMember.cs
- UpdateManifestForBrowserApplication.cs
- Cloud.cs
- ScrollChrome.cs