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
- BamlWriter.cs
- Matrix3DConverter.cs
- OdbcConnectionHandle.cs
- SymmetricAlgorithm.cs
- AtomMaterializer.cs
- MissingSatelliteAssemblyException.cs
- ExpressionList.cs
- UncommonField.cs
- RemotingConfigParser.cs
- ObjectQuery.cs
- mda.cs
- _ChunkParse.cs
- Visual3D.cs
- MenuAdapter.cs
- VectorKeyFrameCollection.cs
- ProcessModelSection.cs
- DesignParameter.cs
- SQlBooleanStorage.cs
- WebResourceAttribute.cs
- OletxEnlistment.cs
- NativeObjectSecurity.cs
- MDIWindowDialog.cs
- XDeferredAxisSource.cs
- MethodBuilderInstantiation.cs
- DateTimeOffsetAdapter.cs
- DecoderFallbackWithFailureFlag.cs
- TempFiles.cs
- BooleanStorage.cs
- ExpressionParser.cs
- ItemContainerProviderWrapper.cs
- SecurityException.cs
- WebResourceAttribute.cs
- EpmSourcePathSegment.cs
- MetricEntry.cs
- WebPartDeleteVerb.cs
- CodeChecksumPragma.cs
- Walker.cs
- OutputCacheSettingsSection.cs
- ContainerUIElement3D.cs
- GroupedContextMenuStrip.cs
- DelayedRegex.cs
- EasingKeyFrames.cs
- PathFigureCollectionConverter.cs
- _DomainName.cs
- BindingMAnagerBase.cs
- Win32SafeHandles.cs
- SimpleBitVector32.cs
- TypefaceCollection.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CacheAxisQuery.cs
- XhtmlMobileTextWriter.cs
- IPPacketInformation.cs
- PrintDialogException.cs
- SamlAdvice.cs
- AndCondition.cs
- AnnotationHelper.cs
- TableHeaderCell.cs
- RenderDataDrawingContext.cs
- WindowsNonControl.cs
- TableLayoutSettings.cs
- LowerCaseStringConverter.cs
- WebPartConnectionsDisconnectVerb.cs
- Rijndael.cs
- ComponentDispatcherThread.cs
- BaseCodePageEncoding.cs
- MethodInfo.cs
- DropDownButton.cs
- ModifierKeysValueSerializer.cs
- FixUpCollection.cs
- XmlImplementation.cs
- ObjectIDGenerator.cs
- CheckBox.cs
- ExpressionEditor.cs
- PrintDialog.cs
- Opcode.cs
- SvcMapFileSerializer.cs
- TransformDescriptor.cs
- HyperLinkColumn.cs
- XPathDocument.cs
- TextProperties.cs
- ToolStripItemImageRenderEventArgs.cs
- ListViewInsertionMark.cs
- ParseHttpDate.cs
- TerminatorSinks.cs
- FunctionCommandText.cs
- ProviderMetadataCachedInformation.cs
- PropertyBuilder.cs
- SqlSelectStatement.cs
- XmlSchemaSimpleType.cs
- UpdateTranslator.cs
- LookupBindingPropertiesAttribute.cs
- WizardPanel.cs
- ExpressionConverter.cs
- RuntimeWrappedException.cs
- ListViewGroupConverter.cs
- ValidationErrorCollection.cs
- XmlWrappingWriter.cs
- DecoderNLS.cs
- XmlNamespaceMappingCollection.cs
- ObjectSecurity.cs