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
- HashMembershipCondition.cs
- BooleanConverter.cs
- LocationUpdates.cs
- ContextMenuStripGroup.cs
- ConfigXmlWhitespace.cs
- Transform3D.cs
- SecurityHelper.cs
- TextTreeDeleteContentUndoUnit.cs
- MatrixCamera.cs
- TextProperties.cs
- SqlDataSourceSelectingEventArgs.cs
- KeyGestureValueSerializer.cs
- GlyphShapingProperties.cs
- CryptoApi.cs
- Timeline.cs
- QueryHandler.cs
- ConfigPathUtility.cs
- MulticastOption.cs
- SynchronousReceiveElement.cs
- CriticalHandle.cs
- ProtocolsSection.cs
- BitSet.cs
- XamlStyleSerializer.cs
- SimpleBitVector32.cs
- ListItemConverter.cs
- EventMappingSettings.cs
- ListCollectionView.cs
- Msec.cs
- DBSchemaTable.cs
- BmpBitmapDecoder.cs
- IconBitmapDecoder.cs
- _SSPISessionCache.cs
- HostedElements.cs
- HttpCapabilitiesEvaluator.cs
- ListViewItemMouseHoverEvent.cs
- StoreContentChangedEventArgs.cs
- Ops.cs
- ImageInfo.cs
- BaseDataList.cs
- MessageFormatterConverter.cs
- ProtocolsConfigurationEntry.cs
- InitializerFacet.cs
- UriWriter.cs
- WindowsListViewSubItem.cs
- VisualState.cs
- InvokeAction.cs
- CallbackHandler.cs
- WebServiceClientProxyGenerator.cs
- ListViewDeletedEventArgs.cs
- DataGridViewTopRowAccessibleObject.cs
- XappLauncher.cs
- GridItemProviderWrapper.cs
- ChannelEndpointElementCollection.cs
- ExtensionElementCollection.cs
- VisualTreeUtils.cs
- LogEntryHeaderv1Deserializer.cs
- RecipientInfo.cs
- MailBnfHelper.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DateTimeValueSerializerContext.cs
- Matrix3DStack.cs
- CodeAttributeArgumentCollection.cs
- DataGridViewCellPaintingEventArgs.cs
- Set.cs
- SimplePropertyEntry.cs
- DataObjectSettingDataEventArgs.cs
- SqlComparer.cs
- RequiredFieldValidator.cs
- AssociatedControlConverter.cs
- TextDecoration.cs
- RMPermissions.cs
- DecimalMinMaxAggregationOperator.cs
- DependentList.cs
- ParallelTimeline.cs
- CallbackValidatorAttribute.cs
- ContentElement.cs
- DisposableCollectionWrapper.cs
- FormViewDeleteEventArgs.cs
- JavaScriptObjectDeserializer.cs
- ByteArrayHelperWithString.cs
- CookielessHelper.cs
- XmlNode.cs
- CompiledXpathExpr.cs
- BuildProvider.cs
- FormViewInsertedEventArgs.cs
- FileDataSourceCache.cs
- complextypematerializer.cs
- ToggleProviderWrapper.cs
- ForeignKeyFactory.cs
- ActivationServices.cs
- httpstaticobjectscollection.cs
- UIElementAutomationPeer.cs
- VectorValueSerializer.cs
- HierarchicalDataBoundControl.cs
- DesigntimeLicenseContext.cs
- ReflectionTypeLoadException.cs
- PrintDialog.cs
- ProcessInputEventArgs.cs
- SerializableAttribute.cs
- GridViewItemAutomationPeer.cs