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
- HelpFileFileNameEditor.cs
- SchemaMerger.cs
- ZipFileInfo.cs
- TransformedBitmap.cs
- TextTreeInsertElementUndoUnit.cs
- EncoderFallback.cs
- HttpHeaderCollection.cs
- ListView.cs
- MatrixCamera.cs
- SendingRequestEventArgs.cs
- ChannelCredentials.cs
- PreservationFileReader.cs
- XmlElementList.cs
- DataPagerFieldCommandEventArgs.cs
- MemoryStream.cs
- QilSortKey.cs
- ServiceRouteHandler.cs
- ColorConverter.cs
- ComponentEvent.cs
- ListControl.cs
- unitconverter.cs
- SystemColorTracker.cs
- ReferencedCollectionType.cs
- DispatcherTimer.cs
- Recipient.cs
- ControlAdapter.cs
- Array.cs
- MessageRpc.cs
- LicenseContext.cs
- XmlSiteMapProvider.cs
- DispatcherObject.cs
- TextDecorationCollection.cs
- Emitter.cs
- OleDbSchemaGuid.cs
- AnnotationMap.cs
- RepeaterItemEventArgs.cs
- PersistChildrenAttribute.cs
- SubqueryRules.cs
- RefreshEventArgs.cs
- SeverityFilter.cs
- OrderedDictionary.cs
- SqlDataSourceCommandEventArgs.cs
- FixedElement.cs
- ZipIOLocalFileDataDescriptor.cs
- coordinatorfactory.cs
- Binding.cs
- InternalsVisibleToAttribute.cs
- PropertyItemInternal.cs
- TokenizerHelper.cs
- XmlIlGenerator.cs
- EntityParameter.cs
- StringAttributeCollection.cs
- GenerateHelper.cs
- ClipboardProcessor.cs
- CollectionView.cs
- PenContexts.cs
- StreamMarshaler.cs
- DiagnosticsConfigurationHandler.cs
- RawStylusSystemGestureInputReport.cs
- JsonFormatWriterGenerator.cs
- MarkupExtensionReturnTypeAttribute.cs
- _IPv6Address.cs
- MenuBase.cs
- Action.cs
- IisTraceWebEventProvider.cs
- BmpBitmapEncoder.cs
- ExtendedPropertyDescriptor.cs
- SecurityTokenException.cs
- NameValueSectionHandler.cs
- ExtensionDataReader.cs
- WebConfigurationHostFileChange.cs
- ResXFileRef.cs
- SpellerError.cs
- Int32Animation.cs
- ColorComboBox.cs
- X509UI.cs
- OutputCacheProfileCollection.cs
- TreeViewImageKeyConverter.cs
- GeometryGroup.cs
- ProcessThreadDesigner.cs
- TargetParameterCountException.cs
- TextModifierScope.cs
- PropertyGridEditorPart.cs
- LassoSelectionBehavior.cs
- BitmapSource.cs
- TextureBrush.cs
- KeyConverter.cs
- ButtonAutomationPeer.cs
- TextCharacters.cs
- SoapIncludeAttribute.cs
- HyperLinkField.cs
- SafeReversePInvokeHandle.cs
- BindingContext.cs
- Int64Animation.cs
- RSAPKCS1SignatureFormatter.cs
- CorePropertiesFilter.cs
- EventProviderTraceListener.cs
- XmlNodeList.cs
- StringKeyFrameCollection.cs
- Mapping.cs