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
- ProviderCommandInfoUtils.cs
- DateBoldEvent.cs
- ThrowHelper.cs
- _HTTPDateParse.cs
- XPathAncestorIterator.cs
- BookmarkUndoUnit.cs
- SafeFindHandle.cs
- HashHelper.cs
- TabControlAutomationPeer.cs
- WebPartTransformerCollection.cs
- NameValueCollection.cs
- SystemDiagnosticsSection.cs
- AdRotator.cs
- Font.cs
- FileChangeNotifier.cs
- CellNormalizer.cs
- Storyboard.cs
- SmtpFailedRecipientsException.cs
- RootProfilePropertySettingsCollection.cs
- RSAPKCS1SignatureFormatter.cs
- _NegotiateClient.cs
- HttpCacheParams.cs
- PasswordTextContainer.cs
- Memoizer.cs
- XmlValueConverter.cs
- ProfileGroupSettingsCollection.cs
- HttpStreams.cs
- LicFileLicenseProvider.cs
- EntityDataSourceUtil.cs
- WebEventCodes.cs
- PeerToPeerException.cs
- XmlILCommand.cs
- TCPClient.cs
- PropertyGridView.cs
- CurrentChangingEventArgs.cs
- UrlMappingsModule.cs
- IERequestCache.cs
- CredentialCache.cs
- NullExtension.cs
- StateBag.cs
- X509ScopedServiceCertificateElement.cs
- RtType.cs
- TimeoutConverter.cs
- XmlConvert.cs
- embossbitmapeffect.cs
- UxThemeWrapper.cs
- Configuration.cs
- MinMaxParagraphWidth.cs
- UInt64Converter.cs
- DoubleAnimationBase.cs
- DataGridViewCellValueEventArgs.cs
- SiteMembershipCondition.cs
- util.cs
- MSHTMLHost.cs
- KeyNotFoundException.cs
- LocalizationParserHooks.cs
- ServiceOperationViewControl.cs
- XPathAxisIterator.cs
- ParenthesizePropertyNameAttribute.cs
- ConnectionProviderAttribute.cs
- RolePrincipal.cs
- ObjectToken.cs
- CompositeScriptReferenceEventArgs.cs
- LocalizedNameDescriptionPair.cs
- SapiInterop.cs
- StrongTypingException.cs
- StylusOverProperty.cs
- WebPartsPersonalization.cs
- ReadOnlyCollection.cs
- ThreadAttributes.cs
- PopupRootAutomationPeer.cs
- _StreamFramer.cs
- XXXOnTypeBuilderInstantiation.cs
- XMLSchema.cs
- ScrollBar.cs
- ListView.cs
- QilXmlWriter.cs
- SqlDataSourceQueryEditor.cs
- WindowPattern.cs
- RootProfilePropertySettingsCollection.cs
- XamlHostingSectionGroup.cs
- ReadOnlyHierarchicalDataSourceView.cs
- EmptyCollection.cs
- NetworkStream.cs
- XamlGridLengthSerializer.cs
- ListViewGroupConverter.cs
- ExpressionDumper.cs
- StickyNoteHelper.cs
- XmlSecureResolver.cs
- HttpProfileGroupBase.cs
- PictureBoxDesigner.cs
- SortQuery.cs
- WinEventTracker.cs
- TriggerCollection.cs
- EmptyElement.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- DataGridViewCellPaintingEventArgs.cs
- SQLByteStorage.cs
- SafeProcessHandle.cs
- SqlClientMetaDataCollectionNames.cs