Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- PinnedBufferMemoryStream.cs
- DuplicateWaitObjectException.cs
- ResourceWriter.cs
- EpmCustomContentWriterNodeData.cs
- DataKeyCollection.cs
- DataListItemCollection.cs
- MSAAWinEventWrap.cs
- DetailsViewPagerRow.cs
- Quaternion.cs
- UIElementPropertyUndoUnit.cs
- IISMapPath.cs
- BuiltInPermissionSets.cs
- XsdCachingReader.cs
- RawStylusInputReport.cs
- Visual.cs
- XPathExpr.cs
- PersianCalendar.cs
- PropertyDescriptorGridEntry.cs
- BufferedMessageData.cs
- NetDataContractSerializer.cs
- HtmlForm.cs
- NavigationExpr.cs
- SmtpSection.cs
- PerformanceCountersElement.cs
- CollectionsUtil.cs
- SqlExpander.cs
- MissingManifestResourceException.cs
- SplineKeyFrames.cs
- SurrogateEncoder.cs
- DtdParser.cs
- ToolStripPanelRow.cs
- DataBindingValueUIHandler.cs
- FeatureManager.cs
- LineMetrics.cs
- OpenTypeLayoutCache.cs
- PenThreadWorker.cs
- XmlElementCollection.cs
- RectAnimation.cs
- PenCursorManager.cs
- ProgressChangedEventArgs.cs
- ExpressionBinding.cs
- ConnectionManagementElementCollection.cs
- ManualResetEventSlim.cs
- DataConnectionHelper.cs
- XmlIncludeAttribute.cs
- Variant.cs
- DefaultValueConverter.cs
- ConfigurationSettings.cs
- URLEditor.cs
- AttributeEmitter.cs
- FullTextBreakpoint.cs
- AutomationPatternInfo.cs
- SimplePropertyEntry.cs
- CurrentChangingEventManager.cs
- RequestCacheEntry.cs
- DynamicArgumentDialog.cs
- ValidationPropertyAttribute.cs
- LinkedList.cs
- TcpClientCredentialType.cs
- DecimalAnimation.cs
- EntityDesignerBuildProvider.cs
- ProjectionCamera.cs
- ZipIOExtraFieldZip64Element.cs
- XmlEnumAttribute.cs
- TrackingServices.cs
- CallbackException.cs
- IntPtr.cs
- __Filters.cs
- DllNotFoundException.cs
- TableRowCollection.cs
- HttpProfileBase.cs
- Stream.cs
- ToolStripKeyboardHandlingService.cs
- MissingSatelliteAssemblyException.cs
- StandardToolWindows.cs
- WpfXamlMember.cs
- ResourceWriter.cs
- PropertyEmitter.cs
- PeerObject.cs
- TextBox.cs
- ToolStripItemTextRenderEventArgs.cs
- AssemblyContextControlItem.cs
- ColorDialog.cs
- GeometryGroup.cs
- DataListCommandEventArgs.cs
- QueryParameter.cs
- EmbeddedObject.cs
- Decoder.cs
- VirtualDirectoryMappingCollection.cs
- WinEventQueueItem.cs
- SecurityAlgorithmSuiteConverter.cs
- TypeFieldSchema.cs
- CustomExpressionEventArgs.cs
- SqlWebEventProvider.cs
- XComponentModel.cs
- FileDialog_Vista_Interop.cs
- MouseWheelEventArgs.cs
- HtmlHead.cs
- IdnElement.cs
- SqlInfoMessageEvent.cs