Code:
/ FX-1434 / FX-1434 / 1.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
- SemaphoreFullException.cs
- HtmlControl.cs
- WebPartConnectionsEventArgs.cs
- PropertyTab.cs
- UIPropertyMetadata.cs
- FontFamilyIdentifier.cs
- MenuItemBindingCollection.cs
- XNodeNavigator.cs
- FormsAuthenticationModule.cs
- DataGridViewComboBoxEditingControl.cs
- ResXResourceReader.cs
- BooleanConverter.cs
- IIS7WorkerRequest.cs
- DataGridViewRowHeaderCell.cs
- TableLayoutPanelCellPosition.cs
- SoapCommonClasses.cs
- XmlArrayAttribute.cs
- EdmFunctionAttribute.cs
- DateTimeHelper.cs
- DataSourceControl.cs
- DataGridView.cs
- XmlSignatureProperties.cs
- DispatcherOperation.cs
- HostProtectionPermission.cs
- PersonalizationDictionary.cs
- PropertyPath.cs
- OdbcEnvironment.cs
- DataSourceSelectArguments.cs
- Properties.cs
- WebPartMenu.cs
- WindowsContainer.cs
- OSFeature.cs
- ISessionStateStore.cs
- GenericTransactionFlowAttribute.cs
- ShaperBuffers.cs
- HttpStreams.cs
- BitmapPalette.cs
- CompoundFileDeflateTransform.cs
- WebPartCloseVerb.cs
- DataPointer.cs
- DateTimeUtil.cs
- safex509handles.cs
- Guid.cs
- SHA256.cs
- DmlSqlGenerator.cs
- TdsEnums.cs
- SafeEventLogWriteHandle.cs
- NamespaceListProperty.cs
- TreeNodeBinding.cs
- TreeNodeEventArgs.cs
- HierarchicalDataBoundControlAdapter.cs
- OpCopier.cs
- TemplateColumn.cs
- WebPartsSection.cs
- InvalidWMPVersionException.cs
- EventDescriptorCollection.cs
- StrokeCollectionDefaultValueFactory.cs
- DialogResultConverter.cs
- Marshal.cs
- BrowserTree.cs
- Validator.cs
- TextEndOfLine.cs
- BaseCollection.cs
- DesignTimeParseData.cs
- RuleSetReference.cs
- HtmlString.cs
- BitmapEditor.cs
- SafeEventLogReadHandle.cs
- TextEditorCopyPaste.cs
- KeyedHashAlgorithm.cs
- KerberosSecurityTokenAuthenticator.cs
- RenamedEventArgs.cs
- WarningException.cs
- BitmapCodecInfoInternal.cs
- Span.cs
- VirtualDirectoryMapping.cs
- SqlStream.cs
- WhereQueryOperator.cs
- Pkcs9Attribute.cs
- UnsafePeerToPeerMethods.cs
- ObjectResult.cs
- WindowsEditBox.cs
- PieceNameHelper.cs
- ListViewInsertedEventArgs.cs
- LinkTarget.cs
- DataServices.cs
- AsyncPostBackTrigger.cs
- BitmapFrame.cs
- EditorAttributeInfo.cs
- MemberDomainMap.cs
- SafeSecurityHandles.cs
- HttpModuleAction.cs
- SQLConvert.cs
- XmlSecureResolver.cs
- PagedDataSource.cs
- CurrentChangingEventArgs.cs
- DecimalStorage.cs
- EnvelopedPkcs7.cs
- TreeNodeBindingCollection.cs
- DesignTimeVisibleAttribute.cs