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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListParagraph.cs
- ScrollProviderWrapper.cs
- ThicknessAnimationUsingKeyFrames.cs
- PartialArray.cs
- VectorConverter.cs
- MetadataHelper.cs
- CompilerScopeManager.cs
- PartitionedDataSource.cs
- AppDomainCompilerProxy.cs
- BuildManagerHost.cs
- OrthographicCamera.cs
- DebugHandleTracker.cs
- DataObjectFieldAttribute.cs
- CompilerGeneratedAttribute.cs
- BaseTemplateCodeDomTreeGenerator.cs
- XmlHierarchyData.cs
- EncoderReplacementFallback.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- TableLayoutSettings.cs
- GridViewRow.cs
- PropertyMapper.cs
- Drawing.cs
- ChineseLunisolarCalendar.cs
- ParserStreamGeometryContext.cs
- ToolboxItem.cs
- SyndicationSerializer.cs
- Misc.cs
- MatrixValueSerializer.cs
- MergablePropertyAttribute.cs
- Soap.cs
- RecordManager.cs
- DocumentViewerAutomationPeer.cs
- UInt64Converter.cs
- StorageSetMapping.cs
- CapabilitiesAssignment.cs
- SchemaElementDecl.cs
- EditingMode.cs
- SyncMethodInvoker.cs
- DocumentViewerAutomationPeer.cs
- QualificationDataAttribute.cs
- EventLogEntryCollection.cs
- XmlName.cs
- WebControlToolBoxItem.cs
- TextProviderWrapper.cs
- MonthCalendar.cs
- CompilationLock.cs
- ObjectDataSourceMethodEventArgs.cs
- ResourceDefaultValueAttribute.cs
- SuppressIldasmAttribute.cs
- GridProviderWrapper.cs
- UpDownEvent.cs
- Hyperlink.cs
- CompositeFontFamily.cs
- HostingEnvironmentSection.cs
- UdpDiscoveryEndpointProvider.cs
- CompoundFileStorageReference.cs
- ProfilePropertyMetadata.cs
- ImageAutomationPeer.cs
- SpeechAudioFormatInfo.cs
- ParseNumbers.cs
- TreeViewEvent.cs
- ToolBarOverflowPanel.cs
- TextEffectResolver.cs
- DataBinding.cs
- EntityChangedParams.cs
- RegexGroup.cs
- PermissionListSet.cs
- ScrollViewer.cs
- BufferedWebEventProvider.cs
- ServiceModelTimeSpanValidator.cs
- IndicCharClassifier.cs
- HttpAsyncResult.cs
- SqlCharStream.cs
- Message.cs
- HyperLinkStyle.cs
- ScriptingAuthenticationServiceSection.cs
- InvalidTimeZoneException.cs
- CopyNamespacesAction.cs
- XamlDesignerSerializationManager.cs
- RequestCache.cs
- TextBox.cs
- RightsManagementUser.cs
- SqlRecordBuffer.cs
- AssemblyBuilder.cs
- WizardDesigner.cs
- ViewService.cs
- CommentAction.cs
- Visual3D.cs
- mactripleDES.cs
- PerformanceCounterPermissionEntry.cs
- CheckBoxAutomationPeer.cs
- DelegatingTypeDescriptionProvider.cs
- DeferredElementTreeState.cs
- GridItemCollection.cs
- ExecutionScope.cs
- ExpressionEditorAttribute.cs
- ConfigurationManagerInternalFactory.cs
- CommandValueSerializer.cs
- AuthenticatedStream.cs
- GridViewColumnCollection.cs