Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Data / System / Data / OleDb / OleDbInfoMessageEvent.cs / 1 / OleDbInfoMessageEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.Diagnostics; #if WINFSInternalOnly internal #else public #endif 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; #if WINFSInternalOnly internal #else public #endif 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
- ECDsaCng.cs
- DataSourceXmlElementAttribute.cs
- RouteParser.cs
- ISFTagAndGuidCache.cs
- DataContractSerializerSection.cs
- OutputCacheSettings.cs
- ChtmlTextWriter.cs
- MimeReflector.cs
- JavaScriptString.cs
- ListItemConverter.cs
- PageTheme.cs
- DPAPIProtectedConfigurationProvider.cs
- EncryptRequest.cs
- MetadataSerializer.cs
- SystemColors.cs
- JapaneseCalendar.cs
- ByteBufferPool.cs
- StylusButton.cs
- COM2PictureConverter.cs
- KeyTime.cs
- VerificationAttribute.cs
- AliasExpr.cs
- ProfilePropertySettingsCollection.cs
- Rule.cs
- TaskFileService.cs
- FormViewAutoFormat.cs
- PointConverter.cs
- ToolConsole.cs
- UIInitializationException.cs
- ToolBarButton.cs
- ReadOnlyPropertyMetadata.cs
- TableRowCollection.cs
- InputLanguageCollection.cs
- ClassicBorderDecorator.cs
- DataBindingCollection.cs
- MetadataCache.cs
- TextDpi.cs
- XmlEventCache.cs
- ApplicationServiceManager.cs
- NameNode.cs
- SiteMap.cs
- DependencyObjectProvider.cs
- LineGeometry.cs
- FrameworkPropertyMetadata.cs
- FramingEncoders.cs
- PipeSecurity.cs
- XmlSchemaType.cs
- ErrorRuntimeConfig.cs
- DataObjectEventArgs.cs
- HtmlControlPersistable.cs
- WebConfigurationHost.cs
- ProtectedConfigurationSection.cs
- ConfigurationManagerInternalFactory.cs
- Region.cs
- DefaultExpressionVisitor.cs
- DataRecordObjectView.cs
- PropertyGridCommands.cs
- TraceSwitch.cs
- MaterialCollection.cs
- PerformanceCounterLib.cs
- ManagementNamedValueCollection.cs
- sqlser.cs
- SystemTcpStatistics.cs
- DesignerRegionCollection.cs
- IPEndPoint.cs
- IdentityManager.cs
- TextRunCache.cs
- Debug.cs
- ComplexBindingPropertiesAttribute.cs
- StringDictionaryEditor.cs
- OleAutBinder.cs
- LinqDataSourceValidationException.cs
- XmlQueryContext.cs
- ServiceReference.cs
- AndMessageFilter.cs
- StrokeIntersection.cs
- UnionCqlBlock.cs
- MyContact.cs
- HostingEnvironment.cs
- DataColumnChangeEvent.cs
- Array.cs
- FormViewDesigner.cs
- Line.cs
- TableAutomationPeer.cs
- HttpHandlerAction.cs
- MappingSource.cs
- BitmapEffectrendercontext.cs
- CommandManager.cs
- WebPartConnectionsEventArgs.cs
- ColorMap.cs
- SqlDeflator.cs
- RealizationContext.cs
- HttpListenerRequest.cs
- BamlRecordReader.cs
- Converter.cs
- CrossAppDomainChannel.cs
- Touch.cs
- ColumnClickEvent.cs
- SchemaImporterExtensionElementCollection.cs
- TreeView.cs