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
- RuntimeVariableList.cs
- AddInBase.cs
- OpenTypeLayout.cs
- GridLength.cs
- WebControlsSection.cs
- SymbolUsageManager.cs
- EventItfInfo.cs
- CatalogZone.cs
- BaseCodePageEncoding.cs
- EditorZoneBase.cs
- ProcessActivityTreeOptions.cs
- WebPartUtil.cs
- _SSPISessionCache.cs
- TypeGeneratedEventArgs.cs
- XPathScanner.cs
- RightsManagementUser.cs
- SqlXml.cs
- SafeFileMapViewHandle.cs
- DebugHandleTracker.cs
- Token.cs
- StructuredTypeInfo.cs
- UriSection.cs
- CachedPathData.cs
- WebHostedComPlusServiceHost.cs
- AnimationException.cs
- NativeMethods.cs
- ByteRangeDownloader.cs
- Interlocked.cs
- DataGridViewCellCancelEventArgs.cs
- TcpChannelHelper.cs
- DataGridViewTextBoxEditingControl.cs
- NameHandler.cs
- login.cs
- TextTreeInsertElementUndoUnit.cs
- DefaultValueAttribute.cs
- TemplatePartAttribute.cs
- SqlDataSourceSelectingEventArgs.cs
- MetadataSource.cs
- ValidationErrorEventArgs.cs
- FeatureSupport.cs
- XmlDocumentSurrogate.cs
- ToolStripSplitButton.cs
- BooleanFacetDescriptionElement.cs
- ComboBoxRenderer.cs
- BufferedGraphicsContext.cs
- VSWCFServiceContractGenerator.cs
- ToolboxBitmapAttribute.cs
- ProjectedSlot.cs
- SystemSounds.cs
- CompositeScriptReferenceEventArgs.cs
- StylusEditingBehavior.cs
- ImageMap.cs
- ProxySimple.cs
- InternalRelationshipCollection.cs
- COM2ComponentEditor.cs
- FixedSOMContainer.cs
- FastPropertyAccessor.cs
- RelationshipFixer.cs
- HttpListenerRequestUriBuilder.cs
- ExpressionBindings.cs
- _ConnectStream.cs
- PresentationSource.cs
- InputBinding.cs
- CreateRefExpr.cs
- RenderTargetBitmap.cs
- RegexTree.cs
- RegularExpressionValidator.cs
- DeobfuscatingStream.cs
- Sentence.cs
- DiscreteKeyFrames.cs
- Point3DCollection.cs
- HwndHost.cs
- MetafileHeaderWmf.cs
- RequestQueue.cs
- ActivitySurrogate.cs
- mediaeventargs.cs
- NGCSerializationManagerAsync.cs
- DropShadowBitmapEffect.cs
- TempFiles.cs
- ResourceDisplayNameAttribute.cs
- PeerResolverMode.cs
- FontEmbeddingManager.cs
- TextServicesDisplayAttribute.cs
- ZipIOLocalFileDataDescriptor.cs
- PriorityRange.cs
- SharedConnectionInfo.cs
- ObjectStateManager.cs
- PathFigureCollection.cs
- ExpressionNode.cs
- AllMembershipCondition.cs
- TransactionException.cs
- WebServiceHost.cs
- XmlSerializableServices.cs
- ElementNotAvailableException.cs
- SequentialOutput.cs
- EntityTypeEmitter.cs
- Int64Converter.cs
- NativeRightsManagementAPIsStructures.cs
- SequentialOutput.cs
- LinqDataSource.cs