Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- DataSourceControl.cs
- UIElement3D.cs
- SqlPersonalizationProvider.cs
- MessageDesigner.cs
- AnnotationService.cs
- XmlEncodedRawTextWriter.cs
- XPathConvert.cs
- SystemResources.cs
- SpotLight.cs
- MetadataSerializer.cs
- ObservableCollection.cs
- ArrayElementGridEntry.cs
- CompositeDataBoundControl.cs
- CommandConverter.cs
- TabPage.cs
- COAUTHIDENTITY.cs
- HttpAsyncResult.cs
- CheckBoxAutomationPeer.cs
- CheckBox.cs
- LinkedResource.cs
- CapabilitiesSection.cs
- Point4D.cs
- FieldNameLookup.cs
- OrderedDictionaryStateHelper.cs
- MetadataItem.cs
- DataGridPagerStyle.cs
- newinstructionaction.cs
- DockingAttribute.cs
- NonBatchDirectoryCompiler.cs
- assemblycache.cs
- Symbol.cs
- TransformCollection.cs
- OrderedDictionary.cs
- DataSourceCache.cs
- WSDualHttpSecurityMode.cs
- GenericEnumConverter.cs
- DataSetUtil.cs
- RecognizeCompletedEventArgs.cs
- CommonObjectSecurity.cs
- DesignerLinkAdapter.cs
- VirtualPathData.cs
- FixedDocumentSequencePaginator.cs
- documentsequencetextview.cs
- ExtendedPropertyDescriptor.cs
- storepermission.cs
- XPathBuilder.cs
- EditorOptionAttribute.cs
- PropertyConverter.cs
- DecoderExceptionFallback.cs
- MetadataCache.cs
- OdbcConnectionFactory.cs
- DBDataPermission.cs
- TransactionFlowBindingElementImporter.cs
- TimeSpanMinutesConverter.cs
- DataBindingHandlerAttribute.cs
- EmptyElement.cs
- Matrix3D.cs
- DrawingImage.cs
- ComponentCommands.cs
- SpellerStatusTable.cs
- Point3DAnimationUsingKeyFrames.cs
- ExpressionLexer.cs
- GridViewPageEventArgs.cs
- InfiniteIntConverter.cs
- ValidationSummary.cs
- Regex.cs
- ProtocolsInstallComponent.cs
- SrgsGrammar.cs
- User.cs
- XmlSchema.cs
- InternalConfigHost.cs
- ProcessHostMapPath.cs
- KnownAssembliesSet.cs
- ConfigurationSectionCollection.cs
- LinqDataSourceStatusEventArgs.cs
- LoginUtil.cs
- BrowserDefinition.cs
- FixedSOMElement.cs
- ButtonField.cs
- BaseParser.cs
- SqlDataSourceEnumerator.cs
- CodeTypeReferenceExpression.cs
- Button.cs
- BmpBitmapEncoder.cs
- OutgoingWebResponseContext.cs
- Brush.cs
- ResourcePool.cs
- DataGridRowsPresenter.cs
- Command.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- _NetworkingPerfCounters.cs
- XhtmlBasicControlAdapter.cs
- ToolBarButton.cs
- TextServicesCompartment.cs
- JoinCqlBlock.cs
- SmiRequestExecutor.cs
- ResourceKey.cs
- DataGridViewRowsAddedEventArgs.cs
- DrawListViewItemEventArgs.cs
- TypedElement.cs