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
- HMACSHA1.cs
- Ray3DHitTestResult.cs
- ToolTip.cs
- ProtocolsSection.cs
- XmlAggregates.cs
- OrCondition.cs
- ColumnResult.cs
- Parser.cs
- PointValueSerializer.cs
- webproxy.cs
- ListView.cs
- URI.cs
- TypeDescriptor.cs
- HtmlSelect.cs
- TextProviderWrapper.cs
- SafeCertificateStore.cs
- MimeObjectFactory.cs
- FileDialogCustomPlace.cs
- CngProperty.cs
- SeekableReadStream.cs
- TraceSection.cs
- StorageEntitySetMapping.cs
- wmiutil.cs
- DesigntimeLicenseContext.cs
- TextElementAutomationPeer.cs
- WebPartConnectionCollection.cs
- TextTrailingWordEllipsis.cs
- BuildResultCache.cs
- AudioFileOut.cs
- CustomTrackingRecord.cs
- EncoderParameter.cs
- ApplicationManager.cs
- ReturnEventArgs.cs
- SqlNamer.cs
- IndexOutOfRangeException.cs
- ScrollBar.cs
- HotSpotCollection.cs
- Stopwatch.cs
- PermissionListSet.cs
- SizeChangedInfo.cs
- TemplateManager.cs
- ToolStripPanelRow.cs
- TypeDependencyAttribute.cs
- SingleResultAttribute.cs
- AssemblyBuilder.cs
- TextBox.cs
- TrackBar.cs
- CodeSnippetExpression.cs
- GregorianCalendarHelper.cs
- HtmlInputControl.cs
- ObjectConverter.cs
- SqlInfoMessageEvent.cs
- MulticastOption.cs
- RedistVersionInfo.cs
- ManipulationInertiaStartingEventArgs.cs
- Label.cs
- invalidudtexception.cs
- ContextTokenTypeConverter.cs
- GlobalDataBindingHandler.cs
- SafeProcessHandle.cs
- SendActivity.cs
- ContentType.cs
- ToolStripTextBox.cs
- ValidationEventArgs.cs
- WebPartConnectionsCancelVerb.cs
- OutputCacheSettingsSection.cs
- ServiceBusyException.cs
- DataGridViewCellStyleChangedEventArgs.cs
- InternalPermissions.cs
- CollectionDataContractAttribute.cs
- TypePropertyEditor.cs
- FormatVersion.cs
- DateTimeConverter.cs
- TypeViewSchema.cs
- CodeMemberEvent.cs
- ListBase.cs
- ScaleTransform.cs
- FixedSOMGroup.cs
- AdjustableArrowCap.cs
- DrawingContextDrawingContextWalker.cs
- BoundPropertyEntry.cs
- DiscreteKeyFrames.cs
- TemplatePagerField.cs
- QilChoice.cs
- TargetParameterCountException.cs
- Visual3DCollection.cs
- NativeCompoundFileAPIs.cs
- DragCompletedEventArgs.cs
- SrgsItemList.cs
- UpDownEvent.cs
- MemoryRecordBuffer.cs
- SettingsSection.cs
- ParameterBuilder.cs
- Tag.cs
- AssociationType.cs
- SqlEnums.cs
- Vector3DCollectionConverter.cs
- PropertyInfoSet.cs
- TemplatedMailWebEventProvider.cs
- ImportCatalogPart.cs