Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / SqlDataSourceStatusEventArgs.cs / 1305376 / SqlDataSourceStatusEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.Collections.Specialized; using System.Data; using System.Data.Common; public class SqlDataSourceStatusEventArgs : EventArgs { private DbCommand _command; private Exception _exception; private bool _exceptionHandled; private int _affectedRows; public SqlDataSourceStatusEventArgs(DbCommand command, int affectedRows, Exception exception) : base() { _command = command; _affectedRows = affectedRows; _exception = exception; } public int AffectedRows { get { return _affectedRows; } } public DbCommand Command { get { return _command; } } ////// If an exception was thrown by the command, this property will contain the exception. /// If there was no exception, the value will be null. /// public Exception Exception { get { return _exception; } } ////// If you wish to handle the exception using your own logic, set this value to true for it to be ignored by the control. /// If an exception was thrown and this value remains false, the exception will be re-thrown by the control. /// public bool ExceptionHandled { get { return _exceptionHandled; } set { _exceptionHandled = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecurityDescriptor.cs
- SettingsBase.cs
- PenThreadPool.cs
- XmlQueryStaticData.cs
- ChildrenQuery.cs
- DropTarget.cs
- GradientStopCollection.cs
- SystemException.cs
- CodeTypeDeclaration.cs
- GZipDecoder.cs
- WebServiceFault.cs
- LineGeometry.cs
- Brushes.cs
- OdbcError.cs
- Send.cs
- ForeignKeyConstraint.cs
- DragDropManager.cs
- MostlySingletonList.cs
- SequenceFullException.cs
- NodeInfo.cs
- BaseServiceProvider.cs
- ToolStripPanelCell.cs
- DetailsViewInsertedEventArgs.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- _HeaderInfo.cs
- SEHException.cs
- UnmanagedMemoryStreamWrapper.cs
- TextSelectionProcessor.cs
- XPathAncestorIterator.cs
- DiscoveryDocument.cs
- ReturnValue.cs
- CompilerGlobalScopeAttribute.cs
- MenuRendererStandards.cs
- MobileRedirect.cs
- MsmqInputMessagePool.cs
- CaseInsensitiveHashCodeProvider.cs
- EventItfInfo.cs
- isolationinterop.cs
- HitTestDrawingContextWalker.cs
- GenericEnumConverter.cs
- StatusBar.cs
- NullReferenceException.cs
- LocalizabilityAttribute.cs
- AssociatedControlConverter.cs
- ExpressionConverter.cs
- ResXFileRef.cs
- JulianCalendar.cs
- WebPermission.cs
- GridViewHeaderRowPresenter.cs
- DiscoveryReference.cs
- ReadingWritingEntityEventArgs.cs
- XNodeSchemaApplier.cs
- ReplyChannel.cs
- XmlTextEncoder.cs
- ProtocolInformationReader.cs
- SqlProcedureAttribute.cs
- HandledMouseEvent.cs
- FocusChangedEventArgs.cs
- ToolStripSplitStackLayout.cs
- ClientConfigPaths.cs
- BidPrivateBase.cs
- FormView.cs
- TTSEngineProxy.cs
- RootNamespaceAttribute.cs
- TextRangeEditLists.cs
- SoapSchemaImporter.cs
- DictionaryCustomTypeDescriptor.cs
- BitmapFrameDecode.cs
- SBCSCodePageEncoding.cs
- TransformDescriptor.cs
- SharedHttpTransportManager.cs
- Application.cs
- NegationPusher.cs
- EventLogPermissionEntry.cs
- Visual.cs
- CallbackHandler.cs
- BitmapEffectInputData.cs
- Panel.cs
- Interop.cs
- TextBox.cs
- FrameworkElementAutomationPeer.cs
- ProcessHostMapPath.cs
- ContentPlaceHolder.cs
- LinqDataSourceView.cs
- VisualState.cs
- BindingContext.cs
- Base64Encoding.cs
- XmlILStorageConverter.cs
- StringDictionaryWithComparer.cs
- DaylightTime.cs
- Debugger.cs
- MoveSizeWinEventHandler.cs
- XmlDataImplementation.cs
- ProxyDataContractResolver.cs
- LogExtentCollection.cs
- UnhandledExceptionEventArgs.cs
- ClientSettingsProvider.cs
- ELinqQueryState.cs
- LogicalExpr.cs
- SqlPersonalizationProvider.cs