Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWebControls / System / Data / WebControls / EntityDataSourceChangedEventArgs.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertyToken.cs
- AccessedThroughPropertyAttribute.cs
- CriticalExceptions.cs
- XmlExceptionHelper.cs
- KeyEventArgs.cs
- DataTemplateKey.cs
- CompilationRelaxations.cs
- Mouse.cs
- ScrollChangedEventArgs.cs
- VisualTreeFlattener.cs
- XmlSchemaNotation.cs
- ResourceReferenceKeyNotFoundException.cs
- Item.cs
- X509Utils.cs
- _NativeSSPI.cs
- SiteMapSection.cs
- ListSortDescription.cs
- ComboBox.cs
- Typeface.cs
- DataPointer.cs
- RuleAttributes.cs
- VectorAnimationBase.cs
- Component.cs
- RoutedEvent.cs
- SpellerStatusTable.cs
- PropertyMappingExceptionEventArgs.cs
- TableLayoutPanelBehavior.cs
- AssemblyEvidenceFactory.cs
- PenThreadPool.cs
- QilGeneratorEnv.cs
- QuaternionConverter.cs
- LineSegment.cs
- ProcessInputEventArgs.cs
- ObjectListItemCollection.cs
- HashHelper.cs
- RenamedEventArgs.cs
- LocationSectionRecord.cs
- exports.cs
- ScriptRegistrationManager.cs
- ReadContentAsBinaryHelper.cs
- Crc32.cs
- EncodingInfo.cs
- DocumentSequenceHighlightLayer.cs
- DecoderFallback.cs
- SiteMapPath.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- LineProperties.cs
- InputLanguage.cs
- ToolZone.cs
- AttributeEmitter.cs
- CheckBoxStandardAdapter.cs
- UserInitiatedNavigationPermission.cs
- MdiWindowListStrip.cs
- ThreadPool.cs
- TextSimpleMarkerProperties.cs
- FontFamilyValueSerializer.cs
- XhtmlBasicTextViewAdapter.cs
- XamlSerializerUtil.cs
- DocumentSequenceHighlightLayer.cs
- DependencyObjectProvider.cs
- SwitchLevelAttribute.cs
- RecognizedAudio.cs
- SafeBitVector32.cs
- MLangCodePageEncoding.cs
- StateChangeEvent.cs
- FrameDimension.cs
- ServicesUtilities.cs
- ExtensionMethods.cs
- MediaContext.cs
- WebPartDisplayModeCancelEventArgs.cs
- ItemCollectionEditor.cs
- FullTrustAssembly.cs
- SecurityHeader.cs
- GeneralTransform2DTo3DTo2D.cs
- FolderBrowserDialog.cs
- DataServiceHostWrapper.cs
- FontDifferentiator.cs
- COAUTHIDENTITY.cs
- MergeLocalizationDirectives.cs
- Mutex.cs
- ExtensionFile.cs
- InternalControlCollection.cs
- TextRangeAdaptor.cs
- ComUdtElement.cs
- AuthorizationRuleCollection.cs
- TreeNodeStyleCollection.cs
- EarlyBoundInfo.cs
- TimeSpanConverter.cs
- Item.cs
- xdrvalidator.cs
- ResourceExpressionBuilder.cs
- PolyLineSegment.cs
- Rectangle.cs
- VolatileEnlistmentMultiplexing.cs
- OrthographicCamera.cs
- OracleConnectionString.cs
- ScriptReferenceBase.cs
- RadioButton.cs
- XsltLoader.cs
- AsyncCompletedEventArgs.cs