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
- MemberDescriptor.cs
- XmlTextAttribute.cs
- AdapterDictionary.cs
- SelectionList.cs
- XDeferredAxisSource.cs
- MessageDecoder.cs
- MetadataSerializer.cs
- MaskInputRejectedEventArgs.cs
- DivideByZeroException.cs
- PropertyEmitterBase.cs
- DependencySource.cs
- XPathExpr.cs
- RSAPKCS1KeyExchangeFormatter.cs
- IndexedSelectQueryOperator.cs
- SmiEventSink_DeferedProcessing.cs
- Scanner.cs
- ToolStripComboBox.cs
- WebPartDescription.cs
- UIElementIsland.cs
- FontUnitConverter.cs
- DataGridViewTextBoxCell.cs
- PathFigure.cs
- HwndPanningFeedback.cs
- LinkConverter.cs
- AttributeTable.cs
- Duration.cs
- dbdatarecord.cs
- PrintPageEvent.cs
- safemediahandle.cs
- TripleDES.cs
- FixedTextContainer.cs
- TabPage.cs
- VolatileEnlistmentMultiplexing.cs
- ResourceCategoryAttribute.cs
- CurrentChangingEventManager.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- SelectionChangedEventArgs.cs
- TextFragmentEngine.cs
- StylusPointPropertyId.cs
- MasterPageParser.cs
- Mappings.cs
- HwndSource.cs
- RectKeyFrameCollection.cs
- TraceInternal.cs
- MasterPageBuildProvider.cs
- XmlSignificantWhitespace.cs
- EntitySqlQueryState.cs
- PenThreadWorker.cs
- SafePEFileHandle.cs
- RowToFieldTransformer.cs
- GraphicsContext.cs
- EventLogQuery.cs
- Error.cs
- AspNetSynchronizationContext.cs
- BulletedList.cs
- DataGridViewRowHeaderCell.cs
- ConsoleKeyInfo.cs
- Symbol.cs
- PerfCounterSection.cs
- CloudCollection.cs
- FormattedText.cs
- StateRuntime.cs
- BitVector32.cs
- SourceFileBuildProvider.cs
- Transform.cs
- LOSFormatter.cs
- AssemblyAttributes.cs
- TextElementCollectionHelper.cs
- HttpModuleCollection.cs
- WebPartPersonalization.cs
- ReadOnlyKeyedCollection.cs
- TransformDescriptor.cs
- InputProcessorProfilesLoader.cs
- TypeKeyValue.cs
- SortDescriptionCollection.cs
- ADMembershipProvider.cs
- ProfileServiceManager.cs
- DictionaryTraceRecord.cs
- ObjectDataSourceEventArgs.cs
- ProcessHostConfigUtils.cs
- InitializationEventAttribute.cs
- ProviderConnectionPoint.cs
- Mappings.cs
- StringArrayConverter.cs
- FormatConvertedBitmap.cs
- ConsoleCancelEventArgs.cs
- XmlQualifiedNameTest.cs
- SettingsContext.cs
- ConfigurationStrings.cs
- BamlBinaryWriter.cs
- diagnosticsswitches.cs
- AuthenticationModuleElement.cs
- DependencyPropertyConverter.cs
- DataServiceResponse.cs
- AuthenticationModuleElement.cs
- DoubleUtil.cs
- NullableConverter.cs
- DeflateStream.cs
- PerfCounterSection.cs
- CodeConditionStatement.cs