Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- RoutedUICommand.cs
- StatusBar.cs
- Item.cs
- SmiEventSink.cs
- SurrogateSelector.cs
- MenuItemStyleCollection.cs
- SingleConverter.cs
- TextMarkerSource.cs
- FieldToken.cs
- ExpressionBuilderCollection.cs
- ActivityExecutionContextCollection.cs
- InvalidProgramException.cs
- ScrollContentPresenter.cs
- AnimationTimeline.cs
- connectionpool.cs
- PermissionSetEnumerator.cs
- Block.cs
- CreateUserWizard.cs
- ProfileService.cs
- ObjectQuery.cs
- FrameworkElementAutomationPeer.cs
- Repeater.cs
- ExtensionDataObject.cs
- StringAnimationUsingKeyFrames.cs
- RotateTransform3D.cs
- QilVisitor.cs
- ClientCredentials.cs
- PopupEventArgs.cs
- LinqDataSourceView.cs
- NetworkStream.cs
- PerfCounterSection.cs
- configsystem.cs
- GroupQuery.cs
- PersonalizableAttribute.cs
- UIElementCollection.cs
- RepeaterItem.cs
- HtmlInputPassword.cs
- CopyAction.cs
- ListViewItemSelectionChangedEvent.cs
- counter.cs
- ServiceEndpoint.cs
- ToolStripGrip.cs
- ObjectListCommandsPage.cs
- SqlConnectionString.cs
- IsolatedStorageFileStream.cs
- JsonFormatWriterGenerator.cs
- GuidTagList.cs
- _NestedMultipleAsyncResult.cs
- Queue.cs
- SyncOperationState.cs
- baseaxisquery.cs
- SendMailErrorEventArgs.cs
- DBDataPermissionAttribute.cs
- StrongNameMembershipCondition.cs
- AdRotator.cs
- IteratorFilter.cs
- RegexWorker.cs
- _DisconnectOverlappedAsyncResult.cs
- PowerStatus.cs
- EventSinkHelperWriter.cs
- BindableTemplateBuilder.cs
- Int32AnimationUsingKeyFrames.cs
- LinqExpressionNormalizer.cs
- ViewBase.cs
- DefaultCommandExtensionCallback.cs
- MutableAssemblyCacheEntry.cs
- ExecutedRoutedEventArgs.cs
- ResizeGrip.cs
- DescendantQuery.cs
- ClientSettingsStore.cs
- QueryExpression.cs
- ActivityExecutionContextCollection.cs
- TextAnchor.cs
- RegisteredArrayDeclaration.cs
- ResizeGrip.cs
- KeyInfo.cs
- While.cs
- Utils.cs
- ObjectNotFoundException.cs
- PerspectiveCamera.cs
- EventLogReader.cs
- COM2IDispatchConverter.cs
- SecurityPolicySection.cs
- HierarchicalDataTemplate.cs
- NameValuePermission.cs
- RegexParser.cs
- Single.cs
- LinkedList.cs
- Block.cs
- WebSysDefaultValueAttribute.cs
- Int32CollectionConverter.cs
- CommandHelper.cs
- SerialStream.cs
- SoapAttributeOverrides.cs
- CollectionViewGroupInternal.cs
- ISFClipboardData.cs
- X500Name.cs
- PropertyGridView.cs
- RangeContentEnumerator.cs
- TripleDESCryptoServiceProvider.cs