Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / LinqDataSourceStatusEventArgs.cs / 2 / LinqDataSourceStatusEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class LinqDataSourceStatusEventArgs : EventArgs { private Exception _exception; private bool _exceptionHandled; private object _result; private int _totalRowCount = -1; public LinqDataSourceStatusEventArgs(object result) { _result = result; } public LinqDataSourceStatusEventArgs(object result, int totalRowCount) { _result = result; _totalRowCount = totalRowCount; } public LinqDataSourceStatusEventArgs(Exception exception) { _exception = exception; } public Exception Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object Result { get { return _result; } } public int TotalRowCount { get { return _totalRowCount; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class LinqDataSourceStatusEventArgs : EventArgs { private Exception _exception; private bool _exceptionHandled; private object _result; private int _totalRowCount = -1; public LinqDataSourceStatusEventArgs(object result) { _result = result; } public LinqDataSourceStatusEventArgs(object result, int totalRowCount) { _result = result; _totalRowCount = totalRowCount; } public LinqDataSourceStatusEventArgs(Exception exception) { _exception = exception; } public Exception Exception { get { return _exception; } } public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } public object Result { get { return _result; } } public int TotalRowCount { get { return _totalRowCount; } } } } // 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
- WebPartDisplayModeEventArgs.cs
- securitycriticaldataClass.cs
- ToolStripGrip.cs
- FileDialog_Vista_Interop.cs
- ObjectDataProvider.cs
- FilterEventArgs.cs
- SqlClientWrapperSmiStreamChars.cs
- DataRowCollection.cs
- HttpRuntimeSection.cs
- WebBrowsableAttribute.cs
- _DisconnectOverlappedAsyncResult.cs
- Pen.cs
- ChineseLunisolarCalendar.cs
- Dump.cs
- XmlToDatasetMap.cs
- TextBoxLine.cs
- BitmapEffectCollection.cs
- HyperLink.cs
- TypefaceMap.cs
- CryptoKeySecurity.cs
- UpdateException.cs
- ContractHandle.cs
- SqlCacheDependencyDatabaseCollection.cs
- InputGestureCollection.cs
- SiteMapNodeItem.cs
- GenericIdentity.cs
- ExtendedPropertyCollection.cs
- Matrix3DConverter.cs
- MemberHolder.cs
- FailedToStartupUIException.cs
- C14NUtil.cs
- UrlMappingsSection.cs
- VectorCollectionConverter.cs
- UTF7Encoding.cs
- QualifiedCellIdBoolean.cs
- ErrorStyle.cs
- XmlSchemaSimpleTypeList.cs
- ResolveMatchesMessage11.cs
- WebPartUtil.cs
- HttpChannelHelper.cs
- ApplicationFileCodeDomTreeGenerator.cs
- RuleInfoComparer.cs
- ChangeConflicts.cs
- WebScriptServiceHost.cs
- DrawingContextDrawingContextWalker.cs
- SystemColors.cs
- PriorityItem.cs
- JulianCalendar.cs
- StrokeCollection.cs
- List.cs
- TextEmbeddedObject.cs
- DragAssistanceManager.cs
- ContainerFilterService.cs
- ArgumentNullException.cs
- WindowsButton.cs
- WorkflowInstanceExtensionManager.cs
- Pts.cs
- StateChangeEvent.cs
- TerminateDesigner.cs
- Options.cs
- ExpressionDumper.cs
- ToolStripPanelDesigner.cs
- ContractsBCL.cs
- ObjectConverter.cs
- MetadataPropertyvalue.cs
- SoapAttributeAttribute.cs
- FormsAuthenticationEventArgs.cs
- TextReader.cs
- GraphicsPath.cs
- DllNotFoundException.cs
- ServiceDesigner.cs
- ControlUtil.cs
- RepeaterItemCollection.cs
- GridViewRowPresenter.cs
- CompiledAction.cs
- Base64WriteStateInfo.cs
- QueryContinueDragEventArgs.cs
- IsolationInterop.cs
- BackStopAuthenticationModule.cs
- ReachPageContentCollectionSerializer.cs
- ListManagerBindingsCollection.cs
- ControlPersister.cs
- WebBrowserNavigatingEventHandler.cs
- ArrayListCollectionBase.cs
- AssemblyCacheEntry.cs
- WizardSideBarListControlItem.cs
- StoryFragments.cs
- ContentFilePart.cs
- XsdDuration.cs
- _FtpControlStream.cs
- Maps.cs
- ColorConvertedBitmap.cs
- StorageRoot.cs
- ImageCodecInfoPrivate.cs
- XmlDocumentFragment.cs
- TransformedBitmap.cs
- WebPartTransformer.cs
- CustomValidator.cs
- ScriptReferenceBase.cs
- TemplateKey.cs