Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Odbc / OdbcInfoMessageEvent.cs / 1305376 / OdbcInfoMessageEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- using System; using System.Data; using System.Text; namespace System.Data.Odbc { public delegate void OdbcInfoMessageEventHandler(object sender, OdbcInfoMessageEventArgs e); public sealed class OdbcInfoMessageEventArgs : System.EventArgs { private OdbcErrorCollection _errors; internal OdbcInfoMessageEventArgs(OdbcErrorCollection errors) { _errors = errors; } public OdbcErrorCollection Errors { get { return _errors; } } public string Message { // MDAC 84407 get { StringBuilder builder = new StringBuilder(); foreach(OdbcError error in Errors) { if (0 < builder.Length) { builder.Append(Environment.NewLine); } builder.Append(error.Message); } return builder.ToString(); } } public override string ToString() { // MDAC 84407 return Message; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TcpClientCredentialType.cs
- ReplacementText.cs
- PathFigure.cs
- MemoryStream.cs
- HttpPostedFile.cs
- XmlWrappingReader.cs
- SizeLimitedCache.cs
- StringConverter.cs
- glyphs.cs
- SafeCryptoHandles.cs
- AliasGenerator.cs
- messageonlyhwndwrapper.cs
- PrimarySelectionAdorner.cs
- RuntimeIdentifierPropertyAttribute.cs
- TitleStyle.cs
- XD.cs
- TextEditorDragDrop.cs
- WebPartConnectionsEventArgs.cs
- VersionUtil.cs
- XPathException.cs
- ToolStripStatusLabel.cs
- Walker.cs
- AutomationPropertyInfo.cs
- ApplicationHost.cs
- RtfFormatStack.cs
- OleDbDataReader.cs
- FeatureSupport.cs
- HierarchicalDataBoundControlAdapter.cs
- CollectionChangedEventManager.cs
- ExpressionPrefixAttribute.cs
- MimeParameterWriter.cs
- MdiWindowListStrip.cs
- AnnouncementService.cs
- BidPrivateBase.cs
- DataServiceResponse.cs
- DrawingContextWalker.cs
- CollectionMarkupSerializer.cs
- ToolStripSettings.cs
- WindowsFormsHelpers.cs
- Accessors.cs
- RtfToXamlLexer.cs
- ProtocolsSection.cs
- GeometryGroup.cs
- MaskInputRejectedEventArgs.cs
- SessionIDManager.cs
- NameScope.cs
- DropShadowEffect.cs
- InvalidPropValue.cs
- WindowsListViewItemCheckBox.cs
- WebSysDescriptionAttribute.cs
- exports.cs
- AnnotationHighlightLayer.cs
- SingleTagSectionHandler.cs
- TemplateBindingExpression.cs
- Aggregates.cs
- QilPatternVisitor.cs
- Models.cs
- CharEntityEncoderFallback.cs
- Rotation3DAnimationUsingKeyFrames.cs
- MaterialGroup.cs
- wgx_sdk_version.cs
- CharacterString.cs
- TrackingServices.cs
- SqlReferenceCollection.cs
- HelpProvider.cs
- SizeAnimationBase.cs
- CurrentChangedEventManager.cs
- MetafileHeader.cs
- CounterCreationDataConverter.cs
- _LocalDataStore.cs
- RoleManagerEventArgs.cs
- UTF7Encoding.cs
- AsymmetricSignatureFormatter.cs
- ListViewUpdatedEventArgs.cs
- AnnouncementEventArgs.cs
- RecommendedAsConfigurableAttribute.cs
- FixUp.cs
- WebServicesSection.cs
- GifBitmapEncoder.cs
- ExpressionBuilder.cs
- ElementMarkupObject.cs
- BindingElementExtensionElement.cs
- LinqDataSourceValidationException.cs
- DocumentProperties.cs
- SystemFonts.cs
- PropertyToken.cs
- FreeIndexList.cs
- HtmlSelect.cs
- NetCodeGroup.cs
- SoapHeader.cs
- DataBindingHandlerAttribute.cs
- EventData.cs
- DataView.cs
- DataSourceExpression.cs
- XPathArrayIterator.cs
- RuntimeConfigLKG.cs
- CodeEventReferenceExpression.cs
- DateTimeFormat.cs
- ColorTransformHelper.cs
- DoubleCollectionConverter.cs