Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- RtfToXamlLexer.cs
- ModelItemImpl.cs
- Simplifier.cs
- BuildManager.cs
- ConfigurationCollectionAttribute.cs
- WindowsTooltip.cs
- FileDialog_Vista.cs
- Span.cs
- LoginViewDesigner.cs
- SubMenuStyle.cs
- _Semaphore.cs
- FrameworkContentElement.cs
- SemanticBasicElement.cs
- SystemFonts.cs
- EndpointDesigner.cs
- PerCallInstanceContextProvider.cs
- PointLightBase.cs
- HyperLinkField.cs
- input.cs
- Matrix3DStack.cs
- ListDictionaryInternal.cs
- DataSvcMapFileSerializer.cs
- ObjectListGeneralPage.cs
- ObjectDataSourceView.cs
- XmlAttribute.cs
- InlineCategoriesDocument.cs
- StackBuilderSink.cs
- CuspData.cs
- CloseCollectionAsyncResult.cs
- FormatControl.cs
- GridViewEditEventArgs.cs
- DBSqlParserColumn.cs
- XpsS0ValidatingLoader.cs
- XmlCountingReader.cs
- EventLogPermissionAttribute.cs
- OleDbReferenceCollection.cs
- Walker.cs
- ToolboxCategoryItems.cs
- _FixedSizeReader.cs
- safesecurityhelperavalon.cs
- ValuePattern.cs
- RelatedCurrencyManager.cs
- RepeaterCommandEventArgs.cs
- sqlinternaltransaction.cs
- ReachDocumentReferenceSerializerAsync.cs
- CompatibleComparer.cs
- XmlObjectSerializerContext.cs
- DeviceFiltersSection.cs
- UIElement.cs
- Literal.cs
- SchemaImporter.cs
- ExpressionBinding.cs
- _ListenerAsyncResult.cs
- IteratorDescriptor.cs
- WebControl.cs
- ConfigurationStrings.cs
- ListDataBindEventArgs.cs
- HitTestDrawingContextWalker.cs
- JoinSymbol.cs
- PasswordPropertyTextAttribute.cs
- UnsafeNativeMethods.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- NameNode.cs
- Helper.cs
- HTMLTextWriter.cs
- KeyConstraint.cs
- ChangeBlockUndoRecord.cs
- CommandHelpers.cs
- ImageFormat.cs
- XmlSchemaObject.cs
- TrustManagerPromptUI.cs
- CqlLexerHelpers.cs
- SqlUnionizer.cs
- RuleCache.cs
- ImageAttributes.cs
- ListControl.cs
- TextAutomationPeer.cs
- DecoderReplacementFallback.cs
- DataExpression.cs
- GZipUtils.cs
- HtmlTitle.cs
- SmiTypedGetterSetter.cs
- GenericWebPart.cs
- XPathDocumentIterator.cs
- AssemblyBuilderData.cs
- AttributeUsageAttribute.cs
- OpenFileDialog.cs
- ThreadAbortException.cs
- ExternalException.cs
- Latin1Encoding.cs
- HttpGetClientProtocol.cs
- ConnectionConsumerAttribute.cs
- TriState.cs
- LayeredChannelFactory.cs
- DataGridViewHeaderCell.cs
- ChannelBinding.cs
- Duration.cs
- LinkedResourceCollection.cs
- CqlWriter.cs
- TemplateParser.cs