Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / OleDb / OleDbInfoMessageEvent.cs / 1305376 / OleDbInfoMessageEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.Diagnostics; public sealed class OleDbInfoMessageEventArgs : System.EventArgs { readonly private OleDbException exception; internal OleDbInfoMessageEventArgs(OleDbException exception) { Debug.Assert(null != exception, "OleDbInfoMessageEventArgs without OleDbException"); this.exception = exception; } public int ErrorCode { get { return this.exception.ErrorCode; } } public OleDbErrorCollection Errors { get { return this.exception.Errors; } } internal bool ShouldSerializeErrors() { // MDAC 65548 return this.exception.ShouldSerializeErrors(); } public string Message { get { return this.exception.Message; } } public string Source { get { return this.exception.Source; } } override public string ToString() { return Message; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.Diagnostics; public sealed class OleDbInfoMessageEventArgs : System.EventArgs { readonly private OleDbException exception; internal OleDbInfoMessageEventArgs(OleDbException exception) { Debug.Assert(null != exception, "OleDbInfoMessageEventArgs without OleDbException"); this.exception = exception; } public int ErrorCode { get { return this.exception.ErrorCode; } } public OleDbErrorCollection Errors { get { return this.exception.Errors; } } internal bool ShouldSerializeErrors() { // MDAC 65548 return this.exception.ShouldSerializeErrors(); } public string Message { get { return this.exception.Message; } } public string Source { get { return this.exception.Source; } } override public string ToString() { 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
- FtpRequestCacheValidator.cs
- TakeQueryOptionExpression.cs
- ViewStateChangedEventArgs.cs
- cookie.cs
- PropertiesTab.cs
- Cursor.cs
- SqlDataSourceCommandEventArgs.cs
- WebContext.cs
- MainMenu.cs
- AnonymousIdentificationSection.cs
- DataGridViewRowCancelEventArgs.cs
- DocumentXmlWriter.cs
- FastPropertyAccessor.cs
- WebBrowserNavigatingEventHandler.cs
- ComplexType.cs
- TiffBitmapEncoder.cs
- ListViewEditEventArgs.cs
- TypeHelper.cs
- DialogBaseForm.cs
- TextPattern.cs
- CacheMemory.cs
- DataServiceProviderWrapper.cs
- ToggleProviderWrapper.cs
- DataFormats.cs
- FacetValueContainer.cs
- oledbconnectionstring.cs
- JulianCalendar.cs
- PropertyTabAttribute.cs
- WebServiceHandlerFactory.cs
- Column.cs
- WebContext.cs
- IgnoreFileBuildProvider.cs
- OdbcReferenceCollection.cs
- ComponentCollection.cs
- ArraySortHelper.cs
- OleDbConnection.cs
- DataSourceDescriptorCollection.cs
- HandlerMappingMemo.cs
- DescendentsWalker.cs
- SourceCollection.cs
- GeometryDrawing.cs
- PathParser.cs
- HeaderUtility.cs
- GridErrorDlg.cs
- XPathEmptyIterator.cs
- LinqToSqlWrapper.cs
- DbQueryCommandTree.cs
- NotificationContext.cs
- ScrollChrome.cs
- DataGridViewCellLinkedList.cs
- HttpListenerRequest.cs
- ImageList.cs
- DataControlLinkButton.cs
- TemplatePropertyEntry.cs
- CollectionBuilder.cs
- Processor.cs
- HTMLTagNameToTypeMapper.cs
- NTAccount.cs
- ObjectDataSourceMethodEventArgs.cs
- PerformanceCounterPermission.cs
- DebuggerAttributes.cs
- XmlILAnnotation.cs
- FormViewInsertEventArgs.cs
- TypeUtils.cs
- TemplateField.cs
- CodeGroup.cs
- DrawingBrush.cs
- ConnectionManager.cs
- HandleExceptionArgs.cs
- RepeatButton.cs
- VScrollProperties.cs
- SolidColorBrush.cs
- ObservableDictionary.cs
- CheckBoxPopupAdapter.cs
- GlobalItem.cs
- AbandonedMutexException.cs
- TdsEnums.cs
- RootNamespaceAttribute.cs
- CssStyleCollection.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- ShaderEffect.cs
- XmlSchemaCompilationSettings.cs
- DocumentSignatureManager.cs
- Encoder.cs
- XmlSchemaObjectCollection.cs
- ClientBase.cs
- storagemappingitemcollection.viewdictionary.cs
- XmlHierarchicalEnumerable.cs
- ExpressionNode.cs
- TraceSection.cs
- NestPullup.cs
- NamespaceTable.cs
- ACL.cs
- Stroke2.cs
- CryptoHelper.cs
- CryptoHelper.cs
- DataGridCell.cs
- ComAdminWrapper.cs
- PbrsForward.cs
- DescendantQuery.cs