Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / SqlDataSourceStatusEventArgs.cs / 1 / 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; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BaseServiceProvider.cs
- ScrollViewer.cs
- ToolStripTextBox.cs
- CqlQuery.cs
- ParserOptions.cs
- DesignerFrame.cs
- PageHandlerFactory.cs
- SHA1Cng.cs
- IconConverter.cs
- UInt64Storage.cs
- SystemColorTracker.cs
- SignerInfo.cs
- TextLineBreak.cs
- HtmlEncodedRawTextWriter.cs
- SmiEventSink_Default.cs
- BaseParaClient.cs
- XamlToRtfParser.cs
- GroupBoxAutomationPeer.cs
- SHA512.cs
- XmlDocumentSchema.cs
- DateTimeFormatInfo.cs
- ResourceManager.cs
- SiteMapDataSource.cs
- DBPropSet.cs
- ColumnMapVisitor.cs
- StylusPointProperties.cs
- DrawTreeNodeEventArgs.cs
- RuntimeWrappedException.cs
- InstalledFontCollection.cs
- Application.cs
- OletxTransactionHeader.cs
- Int32.cs
- XPathNavigatorReader.cs
- ConfigPathUtility.cs
- AsyncOperation.cs
- CompilationUtil.cs
- EnumUnknown.cs
- ResourceDescriptionAttribute.cs
- EnumUnknown.cs
- IntegerFacetDescriptionElement.cs
- HtmlInputSubmit.cs
- KeyValueConfigurationCollection.cs
- XPathAncestorIterator.cs
- EditorBrowsableAttribute.cs
- GenericEnumerator.cs
- GeneralTransform2DTo3DTo2D.cs
- GridViewRowPresenter.cs
- DomNameTable.cs
- JsonXmlDataContract.cs
- mactripleDES.cs
- Parameter.cs
- _KerberosClient.cs
- DynamicPropertyHolder.cs
- DynamicPhysicalDiscoSearcher.cs
- XmlSchemaComplexContent.cs
- DataBindEngine.cs
- NumericExpr.cs
- CharacterString.cs
- LifetimeServices.cs
- PasswordTextNavigator.cs
- ISO2022Encoding.cs
- DecimalAnimationUsingKeyFrames.cs
- FileDataSourceCache.cs
- PolicyManager.cs
- SimpleWebHandlerParser.cs
- Types.cs
- SoapEnumAttribute.cs
- Path.cs
- MouseGestureConverter.cs
- ExpressionVisitor.cs
- TabItemWrapperAutomationPeer.cs
- StatusStrip.cs
- PropagatorResult.cs
- PropertyDescriptorCollection.cs
- MouseGesture.cs
- MasterPageCodeDomTreeGenerator.cs
- ExtensionWindow.cs
- PriorityRange.cs
- ChangeProcessor.cs
- PresentationTraceSources.cs
- ProfileModule.cs
- RegexMatch.cs
- __FastResourceComparer.cs
- ConfigXmlWhitespace.cs
- RoutedEvent.cs
- XsdBuilder.cs
- EditBehavior.cs
- DirectoryObjectSecurity.cs
- TraceLog.cs
- MetabaseSettingsIis7.cs
- OrderByQueryOptionExpression.cs
- Gdiplus.cs
- FileLoadException.cs
- DataGridCommandEventArgs.cs
- Catch.cs
- DataTableMapping.cs
- ContextCorrelationInitializer.cs
- DesignerRegion.cs
- TransformValueSerializer.cs
- future.cs