Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / LinqDataSourceStatusEventArgs.cs / 1305376 / LinqDataSourceStatusEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { #else namespace System.Web.UI.WebControls { #endif using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; 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. // //----------------------------------------------------------------------------- #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { #else namespace System.Web.UI.WebControls { #endif using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; 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
- DataGridHelper.cs
- PersonalizationDictionary.cs
- XmlStreamNodeWriter.cs
- SecurityUtils.cs
- SslStreamSecurityUpgradeProvider.cs
- ProcessModule.cs
- DataGridViewIntLinkedList.cs
- RegexBoyerMoore.cs
- CollectionViewSource.cs
- SafeCryptContextHandle.cs
- TransformValueSerializer.cs
- PageRouteHandler.cs
- MorphHelper.cs
- ModifyActivitiesPropertyDescriptor.cs
- _TLSstream.cs
- DataGridLinkButton.cs
- Transform.cs
- WebService.cs
- PackagePart.cs
- AbsoluteQuery.cs
- SoapObjectInfo.cs
- MethodCallTranslator.cs
- ControlCommandSet.cs
- WebPartChrome.cs
- FormViewDesigner.cs
- SmtpLoginAuthenticationModule.cs
- _NegoState.cs
- HttpCookieCollection.cs
- BatchParser.cs
- Reference.cs
- HyperlinkAutomationPeer.cs
- ButtonDesigner.cs
- ValidatorCollection.cs
- RegistryKey.cs
- StopStoryboard.cs
- DockingAttribute.cs
- WorkflowDesignerMessageFilter.cs
- MultipartContentParser.cs
- Padding.cs
- StringPropertyBuilder.cs
- PropertyMapper.cs
- ParameterCollectionEditor.cs
- UInt16.cs
- Win32Exception.cs
- ErrorFormatter.cs
- LineProperties.cs
- BatchParser.cs
- GlyphRunDrawing.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- GACMembershipCondition.cs
- MaterializeFromAtom.cs
- TokenBasedSet.cs
- _ListenerRequestStream.cs
- GeneratedContractType.cs
- FixedDocumentPaginator.cs
- ItemCheckEvent.cs
- DataTableReader.cs
- AnnotationComponentChooser.cs
- PresentationUIStyleResources.cs
- DataGridViewCellFormattingEventArgs.cs
- KeyNotFoundException.cs
- EntityCollection.cs
- ProxyGenerator.cs
- CustomPopupPlacement.cs
- GeometryDrawing.cs
- AssemblyAttributes.cs
- Int32AnimationUsingKeyFrames.cs
- Resources.Designer.cs
- XmlDeclaration.cs
- GridViewSelectEventArgs.cs
- MappingSource.cs
- GroupBoxAutomationPeer.cs
- FixedStringLookup.cs
- PackagePart.cs
- MessageFilter.cs
- FontInfo.cs
- BStrWrapper.cs
- EditCommandColumn.cs
- GroupDescription.cs
- ExcludePathInfo.cs
- GZipDecoder.cs
- XPathScanner.cs
- ArraySegment.cs
- SqlInternalConnection.cs
- TextAction.cs
- UserControl.cs
- PassportAuthenticationEventArgs.cs
- AlphabeticalEnumConverter.cs
- IDReferencePropertyAttribute.cs
- ProfileService.cs
- ServiceOperation.cs
- Enum.cs
- ThumbAutomationPeer.cs
- NavigationProperty.cs
- GAC.cs
- WebAdminConfigurationHelper.cs
- ResourcePermissionBaseEntry.cs
- DbProviderServices.cs
- LoadItemsEventArgs.cs
- StringInfo.cs