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
- SecurityPolicySection.cs
- Point3D.cs
- MethodExpr.cs
- Stream.cs
- TraceSection.cs
- SerialErrors.cs
- SecurityTokenValidationException.cs
- CodeGotoStatement.cs
- ReplacementText.cs
- DelegatingTypeDescriptionProvider.cs
- DataGridViewRowsAddedEventArgs.cs
- DrawingImage.cs
- VersionConverter.cs
- DataGridPageChangedEventArgs.cs
- mongolianshape.cs
- FixUpCollection.cs
- DataBindingHandlerAttribute.cs
- COM2ExtendedTypeConverter.cs
- HtmlTableCell.cs
- SelectionEditor.cs
- AnchoredBlock.cs
- UIElementAutomationPeer.cs
- AppDomainManager.cs
- DirectoryInfo.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- ComponentResourceKeyConverter.cs
- DataGridViewButtonColumn.cs
- NetworkStream.cs
- DateTimeUtil.cs
- SymmetricSecurityBindingElement.cs
- SqlProviderServices.cs
- LZCodec.cs
- WebConfigurationFileMap.cs
- Profiler.cs
- Cell.cs
- SystemTcpStatistics.cs
- _HeaderInfoTable.cs
- StringUtil.cs
- ObjectContext.cs
- PerformanceCounterPermission.cs
- COM2ComponentEditor.cs
- ButtonField.cs
- ControlBindingsCollection.cs
- StatusStrip.cs
- WindowsFormsHostAutomationPeer.cs
- DeadCharTextComposition.cs
- WindowsGraphics2.cs
- ControlBuilderAttribute.cs
- DataStreams.cs
- BamlVersionHeader.cs
- TableRow.cs
- DataGridViewLinkCell.cs
- SslStream.cs
- XPathNodeIterator.cs
- BoundsDrawingContextWalker.cs
- SystemNetworkInterface.cs
- SystemFonts.cs
- Activity.cs
- InputEventArgs.cs
- InitializationEventAttribute.cs
- WebPartConnectionsConfigureVerb.cs
- SectionInput.cs
- CodeGeneratorOptions.cs
- HwndHostAutomationPeer.cs
- Label.cs
- InputMethodStateChangeEventArgs.cs
- ProviderSettingsCollection.cs
- AttachedPropertyBrowsableAttribute.cs
- DbConnectionFactory.cs
- __ConsoleStream.cs
- DataTransferEventArgs.cs
- RightsManagementEncryptionTransform.cs
- XmlDataSourceNodeDescriptor.cs
- ProtocolsConfiguration.cs
- WebExceptionStatus.cs
- ColorInterpolationModeValidation.cs
- XamlSerializerUtil.cs
- CreateUserWizard.cs
- PresentationSource.cs
- CodeGeneratorOptions.cs
- PropertyItem.cs
- PageParserFilter.cs
- XomlCompilerHelpers.cs
- ToolStripContentPanelRenderEventArgs.cs
- MarkupCompiler.cs
- BufferedResponseStream.cs
- ToolConsole.cs
- Form.cs
- MemberMaps.cs
- OdbcRowUpdatingEvent.cs
- IssuanceLicense.cs
- DataMisalignedException.cs
- RecognitionResult.cs
- SHA1.cs
- COM2AboutBoxPropertyDescriptor.cs
- HttpProfileBase.cs
- SettingsPropertyWrongTypeException.cs
- Sql8ExpressionRewriter.cs
- PartialCachingControl.cs
- FieldDescriptor.cs