Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Data / System / Data / SqlClient / SqlInfoMessageEvent.cs / 1 / SqlInfoMessageEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.SqlClient { using System; #if WINFSInternalOnly internal #else public #endif sealed class SqlInfoMessageEventArgs : System.EventArgs { private SqlException exception; internal SqlInfoMessageEventArgs(SqlException exception) { this.exception = exception; } public SqlErrorCollection Errors { get { return exception.Errors;} } /*virtual protected*/private bool ShouldSerializeErrors() { // MDAC 65548 return (null != exception) && (0 < exception.Errors.Count); } public string Message { // MDAC 68482 get { return exception.Message; } } public string Source { // MDAC 68482 get { return exception.Source;} } override public string ToString() { // MDAC 68482 return Message; } } } // 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
- RtfToXamlLexer.cs
- MenuAutomationPeer.cs
- COM2IProvidePropertyBuilderHandler.cs
- DependencyPropertyConverter.cs
- ControlSerializer.cs
- WebPartCatalogAddVerb.cs
- WebPartConnectionsConfigureVerb.cs
- MapPathBasedVirtualPathProvider.cs
- Freezable.cs
- BindingRestrictions.cs
- TextEndOfLine.cs
- PackWebRequest.cs
- SessionStateUtil.cs
- LedgerEntryCollection.cs
- ServiceDebugBehavior.cs
- TableCell.cs
- DataTableReaderListener.cs
- PageAsyncTaskManager.cs
- Directory.cs
- ListSortDescription.cs
- TableCell.cs
- MergeLocalizationDirectives.cs
- WinFormsComponentEditor.cs
- DefaultValueTypeConverter.cs
- XamlWriter.cs
- MeshGeometry3D.cs
- ToolConsole.cs
- StatusStrip.cs
- ProfileGroupSettings.cs
- SurrogateEncoder.cs
- CqlWriter.cs
- ContainerUIElement3D.cs
- TableLayoutRowStyleCollection.cs
- RefreshPropertiesAttribute.cs
- XPathDocument.cs
- StylusButtonEventArgs.cs
- DataRecordInternal.cs
- TypeUtils.cs
- WebContext.cs
- UnmanagedHandle.cs
- UnmanagedHandle.cs
- FormCollection.cs
- TemplateColumn.cs
- SystemFonts.cs
- SchemaConstraints.cs
- SerializationEventsCache.cs
- SchemaTableOptionalColumn.cs
- SrgsRuleRef.cs
- WebControl.cs
- CompilerGlobalScopeAttribute.cs
- ChunkedMemoryStream.cs
- DataServiceQuery.cs
- BitmapEffect.cs
- Configuration.cs
- PropertyValueChangedEvent.cs
- TextFormatter.cs
- CompiledQuery.cs
- DataPager.cs
- AbandonedMutexException.cs
- StandardCommandToolStripMenuItem.cs
- AsyncStreamReader.cs
- VarRemapper.cs
- ManipulationStartedEventArgs.cs
- XpsSerializationManagerAsync.cs
- NativeMethodsCLR.cs
- CodeAttributeArgument.cs
- SystemIPInterfaceStatistics.cs
- CommandField.cs
- MsmqIntegrationBinding.cs
- AnnotationResourceChangedEventArgs.cs
- CodeAttributeArgumentCollection.cs
- SessionStateSection.cs
- InfoCardAsymmetricCrypto.cs
- RowUpdatedEventArgs.cs
- BrowsableAttribute.cs
- AnnotationService.cs
- UIElementAutomationPeer.cs
- TextBounds.cs
- LicenseManager.cs
- ProfilePropertyNameValidator.cs
- Events.cs
- RecommendedAsConfigurableAttribute.cs
- SqlNodeAnnotation.cs
- StorageComplexTypeMapping.cs
- HttpMethodConstraint.cs
- SqlCachedBuffer.cs
- PointConverter.cs
- XmlSchemaFacet.cs
- GeneratedCodeAttribute.cs
- Validator.cs
- StylusPointCollection.cs
- ViewGenResults.cs
- MsmqUri.cs
- KeyedHashAlgorithm.cs
- updateconfighost.cs
- AppDomainUnloadedException.cs
- NativeMethods.cs
- ResourceIDHelper.cs
- Context.cs
- BitConverter.cs