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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSchemaNotation.cs
- XPathExpr.cs
- OdbcInfoMessageEvent.cs
- CustomErrorsSection.cs
- StrokeRenderer.cs
- SiteMapHierarchicalDataSourceView.cs
- DynamicArgumentDialog.cs
- DefaultValidator.cs
- DataTableMappingCollection.cs
- ReflectionTypeLoadException.cs
- TdsValueSetter.cs
- ProcessModuleCollection.cs
- PropertyContainer.cs
- NavigationCommands.cs
- ProfileProvider.cs
- TransportListener.cs
- XmlIlGenerator.cs
- SmtpDigestAuthenticationModule.cs
- Table.cs
- CodeDelegateCreateExpression.cs
- ContainerUtilities.cs
- IgnoreSectionHandler.cs
- TableRow.cs
- TableCellCollection.cs
- DataGridViewColumnEventArgs.cs
- CachedRequestParams.cs
- AddInEnvironment.cs
- _ConnectOverlappedAsyncResult.cs
- GAC.cs
- SerializationException.cs
- DataGridViewHeaderCell.cs
- OLEDB_Util.cs
- ConfigXmlSignificantWhitespace.cs
- DictionaryEntry.cs
- ConditionalDesigner.cs
- ResourceSet.cs
- Listbox.cs
- FileLogRecordHeader.cs
- EmissiveMaterial.cs
- WebPartTransformer.cs
- SecurityElement.cs
- RawKeyboardInputReport.cs
- StickyNoteHelper.cs
- XsltArgumentList.cs
- Transform3DGroup.cs
- SpecularMaterial.cs
- ToolStripMenuItem.cs
- MemoryFailPoint.cs
- BuildProvider.cs
- ListControl.cs
- IteratorFilter.cs
- DbConnectionFactory.cs
- PropertyDescriptorCollection.cs
- DesignerDataRelationship.cs
- PermissionSetEnumerator.cs
- BrowserTree.cs
- BaseResourcesBuildProvider.cs
- DataSysAttribute.cs
- LinkedResourceCollection.cs
- WebServiceData.cs
- Attribute.cs
- Deserializer.cs
- StorageComplexPropertyMapping.cs
- InvokeProviderWrapper.cs
- MessageQueuePermission.cs
- webbrowsersite.cs
- DispatcherObject.cs
- FixedSOMSemanticBox.cs
- RemotingServices.cs
- ManipulationLogic.cs
- TextWriterTraceListener.cs
- CompilationRelaxations.cs
- TemplateComponentConnector.cs
- ExpressionEditor.cs
- XamlValidatingReader.cs
- FragmentQueryKB.cs
- MethodBody.cs
- RectangleConverter.cs
- InProcStateClientManager.cs
- CodeDOMUtility.cs
- ScriptServiceAttribute.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ToolStripContentPanelRenderEventArgs.cs
- MessageFormatterConverter.cs
- StyleXamlParser.cs
- iisPickupDirectory.cs
- DisplayNameAttribute.cs
- QuadraticEase.cs
- Mouse.cs
- UrlAuthorizationModule.cs
- DataRelation.cs
- Repeater.cs
- DateBoldEvent.cs
- CommandPlan.cs
- SystemIcons.cs
- SqlDataSource.cs
- SqlCacheDependencyDatabaseCollection.cs
- _KerberosClient.cs
- FilterableAttribute.cs
- AffineTransform3D.cs