Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / LinqDataSourceStatusEventArgs.cs / 1 / 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
- ToolBarButton.cs
- FunctionImportMapping.cs
- DataControlCommands.cs
- MimeBasePart.cs
- XmlSchemaElement.cs
- XComponentModel.cs
- SystemIPInterfaceProperties.cs
- CompositionDesigner.cs
- Converter.cs
- InstanceStoreQueryResult.cs
- BinaryHeap.cs
- AuthorizationRuleCollection.cs
- NamedPermissionSet.cs
- TextBox.cs
- TimeStampChecker.cs
- ConstraintCollection.cs
- Attributes.cs
- Internal.cs
- PropertyRecord.cs
- IPAddress.cs
- FunctionQuery.cs
- XmlUrlResolver.cs
- IntSecurity.cs
- CompleteWizardStep.cs
- ResourcePermissionBase.cs
- ReflectionTypeLoadException.cs
- AnnotationHighlightLayer.cs
- NameValuePair.cs
- XmlQueryRuntime.cs
- FontSizeConverter.cs
- InvalidOperationException.cs
- DecoratedNameAttribute.cs
- NumberFormatInfo.cs
- Metafile.cs
- VerificationException.cs
- Setter.cs
- ConfigurationStrings.cs
- MsmqIntegrationOutputChannel.cs
- SortedSetDebugView.cs
- HttpCacheParams.cs
- DiffuseMaterial.cs
- WebPartCloseVerb.cs
- SerializationAttributes.cs
- ContentPlaceHolder.cs
- List.cs
- WmpBitmapDecoder.cs
- ContainsSearchOperator.cs
- _Events.cs
- TimeZone.cs
- SiteMapDesignerDataSourceView.cs
- SqlDataRecord.cs
- ParseNumbers.cs
- HttpTransportSecurityElement.cs
- TabPage.cs
- XPathSelfQuery.cs
- BinaryParser.cs
- RayMeshGeometry3DHitTestResult.cs
- RoleGroupCollectionEditor.cs
- HexParser.cs
- SafeNativeMethodsCLR.cs
- RightsManagementEncryptedStream.cs
- HttpDigestClientElement.cs
- SelectionProviderWrapper.cs
- X509Certificate2.cs
- EntityDataSourceConfigureObjectContext.cs
- KeyProperty.cs
- AudioSignalProblemOccurredEventArgs.cs
- DataGridItemCollection.cs
- HttpApplicationStateWrapper.cs
- FormatControl.cs
- EUCJPEncoding.cs
- TreeViewItemAutomationPeer.cs
- DetailsViewPagerRow.cs
- LeaseManager.cs
- ToolStripSeparatorRenderEventArgs.cs
- IdentityHolder.cs
- SamlAdvice.cs
- ConfigXmlAttribute.cs
- MouseWheelEventArgs.cs
- X509ChainElement.cs
- XmlCDATASection.cs
- FontFamilyIdentifier.cs
- HttpValueCollection.cs
- SystemSounds.cs
- MimeMultiPart.cs
- ValidationRule.cs
- GroupBox.cs
- SymbolTable.cs
- arclist.cs
- MailDefinition.cs
- ProxyManager.cs
- XmlSchemaType.cs
- CompositeKey.cs
- PersonalizationProviderHelper.cs
- DefaultEventAttribute.cs
- CompressEmulationStream.cs
- LinkDescriptor.cs
- SplitContainer.cs
- ServicesUtilities.cs
- EdmPropertyAttribute.cs