Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- TextFormatterHost.cs
- TrackingLocation.cs
- TextReader.cs
- ProcessModelSection.cs
- FormatStringEditor.cs
- NumberFunctions.cs
- DataGridViewToolTip.cs
- HwndAppCommandInputProvider.cs
- MonitorWrapper.cs
- dataSvcMapFileLoader.cs
- StrongNameUtility.cs
- Paragraph.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- _CacheStreams.cs
- ToolStripLabel.cs
- EditingCoordinator.cs
- PropertyChange.cs
- IteratorFilter.cs
- TemplateLookupAction.cs
- ViewKeyConstraint.cs
- ConvertersCollection.cs
- ZipIOExtraFieldZip64Element.cs
- IPEndPointCollection.cs
- BindingMemberInfo.cs
- HtmlValidationSummaryAdapter.cs
- UICuesEvent.cs
- RoleManagerModule.cs
- COM2PropertyPageUITypeConverter.cs
- HttpListenerPrefixCollection.cs
- AppSettingsExpressionBuilder.cs
- SelectionService.cs
- SafeNativeMethodsOther.cs
- GreenMethods.cs
- VectorAnimationBase.cs
- CacheEntry.cs
- ExtenderControl.cs
- ImageBrush.cs
- diagnosticsswitches.cs
- GradientStopCollection.cs
- SafeWaitHandle.cs
- _ProxyChain.cs
- Set.cs
- StatusStrip.cs
- ReflectTypeDescriptionProvider.cs
- SqlCacheDependency.cs
- OrderedDictionary.cs
- SerializationHelper.cs
- WindowsImpersonationContext.cs
- Function.cs
- EpmCustomContentWriterNodeData.cs
- DataRecordObjectView.cs
- ArrayTypeMismatchException.cs
- ImageClickEventArgs.cs
- RelationshipManager.cs
- NativeMethods.cs
- FileDialog_Vista_Interop.cs
- XmlDataImplementation.cs
- WebPartsPersonalization.cs
- CompositeCollectionView.cs
- PolyBezierSegment.cs
- ColumnHeaderConverter.cs
- ScrollBarRenderer.cs
- SchemaDeclBase.cs
- HtmlToClrEventProxy.cs
- XomlCompilerResults.cs
- ImageCodecInfoPrivate.cs
- BindUriHelper.cs
- Rect3DConverter.cs
- DocumentXmlWriter.cs
- TextPatternIdentifiers.cs
- LoadMessageLogger.cs
- ListControlConvertEventArgs.cs
- DataGridViewTextBoxEditingControl.cs
- OdbcConnectionHandle.cs
- ToolStripSplitButton.cs
- BuildResult.cs
- PersistenceTypeAttribute.cs
- EncoderReplacementFallback.cs
- SBCSCodePageEncoding.cs
- GPRECTF.cs
- InvalidOperationException.cs
- ToolStripScrollButton.cs
- StringReader.cs
- DeferredSelectedIndexReference.cs
- DomNameTable.cs
- MsmqIntegrationInputChannel.cs
- NotFiniteNumberException.cs
- BrowserDefinition.cs
- ScalarType.cs
- EventLogStatus.cs
- XmlSchemaRedefine.cs
- TypeConverter.cs
- GenerateTemporaryTargetAssembly.cs
- ImageCodecInfo.cs
- EditorPartCollection.cs
- LocalizabilityAttribute.cs
- EventWaitHandle.cs
- HierarchicalDataBoundControl.cs
- PhysicalFontFamily.cs
- RecordConverter.cs