Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- UrlPath.cs
- EnumerableRowCollectionExtensions.cs
- ClassData.cs
- AvtEvent.cs
- NamedPipeProcessProtocolHandler.cs
- BindingOperations.cs
- CompilationSection.cs
- FixedSOMContainer.cs
- ImpersonationContext.cs
- FontWeights.cs
- hwndwrapper.cs
- WebPartConnection.cs
- Variable.cs
- ListViewDataItem.cs
- ComponentChangingEvent.cs
- HMAC.cs
- AdapterDictionary.cs
- Latin1Encoding.cs
- URLIdentityPermission.cs
- MultiSelectRootGridEntry.cs
- OperandQuery.cs
- SecurityRuntime.cs
- OdbcTransaction.cs
- ImplicitInputBrush.cs
- DbConnectionOptions.cs
- FontFaceLayoutInfo.cs
- SHA256Managed.cs
- XomlCompiler.cs
- QueryOpeningEnumerator.cs
- QilCloneVisitor.cs
- ServiceNameElement.cs
- OdbcEnvironment.cs
- RequestDescription.cs
- InterleavedZipPartStream.cs
- DecimalAnimationBase.cs
- SubpageParagraph.cs
- TableSectionStyle.cs
- GraphicsContainer.cs
- HashHelper.cs
- PointCollection.cs
- XmlObjectSerializerReadContextComplex.cs
- ContractHandle.cs
- EdgeProfileValidation.cs
- SerializationSectionGroup.cs
- NameValueConfigurationElement.cs
- VisualBasicReference.cs
- RemotingConfigParser.cs
- ToolStripDropDown.cs
- recordstate.cs
- Component.cs
- MouseGesture.cs
- mil_sdk_version.cs
- StreamedFramingRequestChannel.cs
- PersonalizableAttribute.cs
- EventBookmark.cs
- NetPeerTcpBindingElement.cs
- IdentityHolder.cs
- EncodingFallbackAwareXmlTextWriter.cs
- ParserStreamGeometryContext.cs
- EdmItemError.cs
- EventLogPermissionEntry.cs
- CfgParser.cs
- HttpListenerTimeoutManager.cs
- FixedBufferAttribute.cs
- SingleAnimation.cs
- DSASignatureFormatter.cs
- DataColumnMapping.cs
- Compiler.cs
- TableAutomationPeer.cs
- StrongNameMembershipCondition.cs
- QilInvokeLateBound.cs
- PenLineJoinValidation.cs
- GridViewDeleteEventArgs.cs
- LoginName.cs
- EventListenerClientSide.cs
- IndentedTextWriter.cs
- DataRowView.cs
- SelectionRange.cs
- RowParagraph.cs
- RoleBoolean.cs
- SweepDirectionValidation.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- TextBox.cs
- wgx_commands.cs
- SlotInfo.cs
- Content.cs
- ZoneIdentityPermission.cs
- NullableDoubleAverageAggregationOperator.cs
- AutomationFocusChangedEventArgs.cs
- LazyTextWriterCreator.cs
- ElementMarkupObject.cs
- TraceInternal.cs
- DataGridViewAddColumnDialog.cs
- Page.cs
- PerspectiveCamera.cs
- Calendar.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ExpressionBuilderCollection.cs
- ObjectStateManager.cs
- SelfSignedCertificate.cs