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
- SetState.cs
- XmlTextWriter.cs
- QilVisitor.cs
- FontFamily.cs
- BufferModeSettings.cs
- XsltQilFactory.cs
- FamilyMapCollection.cs
- DigestTraceRecordHelper.cs
- HttpUnhandledOperationInvoker.cs
- Package.cs
- QueryPageSettingsEventArgs.cs
- FormViewDesigner.cs
- ReflectionPermission.cs
- ExpressionBinding.cs
- ThreadAttributes.cs
- PlanCompiler.cs
- NativeRightsManagementAPIsStructures.cs
- SoapExtensionTypeElement.cs
- AssemblyLoader.cs
- SectionVisual.cs
- WebEvents.cs
- StringArrayConverter.cs
- ZipIOCentralDirectoryBlock.cs
- WmlFormAdapter.cs
- ColumnMapCopier.cs
- DelimitedListTraceListener.cs
- SqlRetyper.cs
- QueryConverter.cs
- CreateUserWizardStep.cs
- StringCollection.cs
- AlphabeticalEnumConverter.cs
- MetadataCache.cs
- XmlILOptimizerVisitor.cs
- DataListItem.cs
- DecoratedNameAttribute.cs
- Options.cs
- PieceNameHelper.cs
- StrokeRenderer.cs
- TimeoutHelper.cs
- ParamArrayAttribute.cs
- ActivityXamlServices.cs
- MembershipPasswordException.cs
- VoiceSynthesis.cs
- DbConnectionClosed.cs
- StateInitializationDesigner.cs
- StringInfo.cs
- BitmapEffectRenderDataResource.cs
- DataContractSerializerFaultFormatter.cs
- Style.cs
- Mapping.cs
- ClientSideQueueItem.cs
- LongSumAggregationOperator.cs
- XmlSchemaInclude.cs
- XPathItem.cs
- Logging.cs
- UpdatePanel.cs
- WindowsGraphics2.cs
- DynamicHyperLink.cs
- OutputChannelBinder.cs
- safesecurityhelperavalon.cs
- CaseStatement.cs
- IssuedTokenClientElement.cs
- XmlSerializationWriter.cs
- ManagedWndProcTracker.cs
- SymDocumentType.cs
- List.cs
- DependentList.cs
- TypedServiceChannelBuilder.cs
- XmlStreamNodeWriter.cs
- LayoutDump.cs
- PropertyChangingEventArgs.cs
- MonthChangedEventArgs.cs
- DebugInfoExpression.cs
- FixedPageAutomationPeer.cs
- TypeUtil.cs
- PointUtil.cs
- Animatable.cs
- OptimalTextSource.cs
- ActivationServices.cs
- CFGGrammar.cs
- ContainerControlDesigner.cs
- CapiHashAlgorithm.cs
- RichTextBoxConstants.cs
- NameValuePair.cs
- MethodImplAttribute.cs
- EntityContainerEmitter.cs
- MimeReturn.cs
- ActiveDocumentEvent.cs
- SqlDuplicator.cs
- SemanticTag.cs
- CodeMemberEvent.cs
- EventListenerClientSide.cs
- RecognitionResult.cs
- TextContainerHelper.cs
- WindowsStartMenu.cs
- NamedElement.cs
- ColorPalette.cs
- FrameDimension.cs
- RectAnimationUsingKeyFrames.cs
- BuildProvider.cs