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
- GeneralTransform3DGroup.cs
- IPipelineRuntime.cs
- ProfileBuildProvider.cs
- DbMetaDataColumnNames.cs
- PropertyEmitter.cs
- FrameworkElement.cs
- RelationshipConverter.cs
- NonBatchDirectoryCompiler.cs
- WebPartConnectionsEventArgs.cs
- AutomationPeer.cs
- HitTestParameters.cs
- StylusTip.cs
- GridViewRowEventArgs.cs
- OleDbPropertySetGuid.cs
- InstancePersistenceEvent.cs
- BulletedListEventArgs.cs
- DispatcherEventArgs.cs
- ImageMap.cs
- Int16.cs
- VBIdentifierTrimConverter.cs
- LogicalExpr.cs
- HttpResponseWrapper.cs
- HtmlFormParameterReader.cs
- BasicExpressionVisitor.cs
- DataViewSettingCollection.cs
- CodeIterationStatement.cs
- DecimalConverter.cs
- TrackingServices.cs
- SQLBytesStorage.cs
- PageBuildProvider.cs
- TextViewSelectionProcessor.cs
- DateTimeOffset.cs
- TraceEventCache.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- regiisutil.cs
- ContainerControl.cs
- WebPartsPersonalizationAuthorization.cs
- PrintPreviewDialog.cs
- TableRowGroup.cs
- WebScriptEndpointElement.cs
- LoginView.cs
- DataPointer.cs
- ResXResourceWriter.cs
- WinFormsComponentEditor.cs
- WorkingDirectoryEditor.cs
- IdentitySection.cs
- SerializationException.cs
- CertificateReferenceElement.cs
- ProxyGenerator.cs
- HideDisabledControlAdapter.cs
- FamilyTypeface.cs
- FixedTextView.cs
- MetadataCache.cs
- wmiutil.cs
- SubstitutionList.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- IteratorFilter.cs
- ListViewDeleteEventArgs.cs
- GrammarBuilderBase.cs
- BamlResourceContent.cs
- DataGridItemCollection.cs
- ZipIOExtraFieldPaddingElement.cs
- SessionStateModule.cs
- Base64Encoder.cs
- UIElementHelper.cs
- TreeViewEvent.cs
- DoubleConverter.cs
- UpdateTracker.cs
- CheckBoxRenderer.cs
- XPathNavigator.cs
- printdlgexmarshaler.cs
- XmlValueConverter.cs
- StylusPointProperty.cs
- XmlDownloadManager.cs
- BaseTypeViewSchema.cs
- CharacterShapingProperties.cs
- CngUIPolicy.cs
- GrammarBuilderDictation.cs
- Converter.cs
- AppSettingsSection.cs
- SafeJobHandle.cs
- CustomGrammar.cs
- LinkTarget.cs
- ToggleProviderWrapper.cs
- DataSourceSelectArguments.cs
- UpdateCommand.cs
- BaseParser.cs
- ClientSettingsProvider.cs
- Parser.cs
- DateTimeValueSerializer.cs
- EntityStoreSchemaGenerator.cs
- KeyManager.cs
- XmlEnumAttribute.cs
- XmlElementAttributes.cs
- ActivityExecutorOperation.cs
- EntityPropertyMappingAttribute.cs
- AttachedPropertiesService.cs
- DataBindingCollection.cs
- errorpatternmatcher.cs
- CompilerTypeWithParams.cs