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
- ArrangedElement.cs
- ViewStateModeByIdAttribute.cs
- FontInfo.cs
- NotifyParentPropertyAttribute.cs
- PolicyImporterElementCollection.cs
- PrePostDescendentsWalker.cs
- ExponentialEase.cs
- ReferencedType.cs
- XmlSchemaSimpleType.cs
- InertiaRotationBehavior.cs
- TCPClient.cs
- CollectionEditVerbManager.cs
- activationcontext.cs
- TextCompositionManager.cs
- AttachInfo.cs
- DuplicateWaitObjectException.cs
- WebConfigurationFileMap.cs
- ValidatedControlConverter.cs
- BamlTreeMap.cs
- ParameterModifier.cs
- MenuItemStyle.cs
- _Events.cs
- DrawingBrush.cs
- SrgsRulesCollection.cs
- AppDomainProtocolHandler.cs
- X509RawDataKeyIdentifierClause.cs
- SafeNativeMethods.cs
- ItemChangedEventArgs.cs
- SetIterators.cs
- IdentifierElement.cs
- DefaultClaimSet.cs
- TextBox.cs
- EntitySet.cs
- DataGridParentRows.cs
- MergeFailedEvent.cs
- CallContext.cs
- FormClosingEvent.cs
- ColumnMapVisitor.cs
- StorageMappingItemLoader.cs
- State.cs
- WorkflowClientDeliverMessageWrapper.cs
- CngKeyCreationParameters.cs
- PieceDirectory.cs
- IIS7UserPrincipal.cs
- CellLabel.cs
- DbMetaDataColumnNames.cs
- PkcsMisc.cs
- EncryptedPackage.cs
- Adorner.cs
- _ConnectStream.cs
- SqlConnectionManager.cs
- UserNameSecurityTokenProvider.cs
- ZipIOExtraFieldZip64Element.cs
- cache.cs
- MdiWindowListStrip.cs
- Timer.cs
- RSAOAEPKeyExchangeFormatter.cs
- BamlRecordHelper.cs
- CroppedBitmap.cs
- XmlSchemaInclude.cs
- SimpleHandlerFactory.cs
- WpfPayload.cs
- XamlContextStack.cs
- FontFamily.cs
- WindowsFormsSynchronizationContext.cs
- HyperLinkStyle.cs
- AffineTransform3D.cs
- SelectionPattern.cs
- ClientFormsIdentity.cs
- DataTableMappingCollection.cs
- ConstNode.cs
- CodeSnippetTypeMember.cs
- StringDictionary.cs
- PagesChangedEventArgs.cs
- GeneralTransform3DGroup.cs
- DescendantQuery.cs
- NonParentingControl.cs
- TreeNodeClickEventArgs.cs
- FormViewPagerRow.cs
- IDReferencePropertyAttribute.cs
- StorageRoot.cs
- RemoteWebConfigurationHostServer.cs
- ListViewItemMouseHoverEvent.cs
- TreeViewItemAutomationPeer.cs
- MetadataSource.cs
- ToolboxItemLoader.cs
- DocumentViewerConstants.cs
- DocumentGrid.cs
- EventPropertyMap.cs
- XsltCompileContext.cs
- dataprotectionpermissionattribute.cs
- FlowLayout.cs
- ScrollProperties.cs
- InputMethodStateChangeEventArgs.cs
- XamlSerializationHelper.cs
- OpenTypeLayout.cs
- EntityModelBuildProvider.cs
- Baml2006ReaderSettings.cs
- Operator.cs
- PngBitmapDecoder.cs