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
- ObjectDataSource.cs
- MailWebEventProvider.cs
- MaskedTextBox.cs
- ObjectViewListener.cs
- WindowShowOrOpenTracker.cs
- Annotation.cs
- ClonableStack.cs
- StoreItemCollection.Loader.cs
- IApplicationTrustManager.cs
- FixedSOMPageElement.cs
- basecomparevalidator.cs
- CodeAttributeArgument.cs
- GraphicsState.cs
- login.cs
- CorrelationManager.cs
- BuildProvider.cs
- PersonalizationEntry.cs
- BooleanStorage.cs
- DiagnosticsConfiguration.cs
- Pair.cs
- WebBrowserNavigatingEventHandler.cs
- DeflateStream.cs
- ToolStripMenuItem.cs
- SafeCoTaskMem.cs
- XMLSchema.cs
- EmbeddedObject.cs
- ErrorProvider.cs
- EventLogPermissionAttribute.cs
- ImageListStreamer.cs
- WindowsListViewSubItem.cs
- DataGridCellAutomationPeer.cs
- DynamicHyperLink.cs
- Variant.cs
- SspiSafeHandles.cs
- SettingsPropertyWrongTypeException.cs
- DiffuseMaterial.cs
- UnwrappedTypesXmlSerializerManager.cs
- DataContractSet.cs
- MetadataConversionError.cs
- ConfigurationSectionGroupCollection.cs
- MappedMetaModel.cs
- Privilege.cs
- TrackingServices.cs
- TdsParserStateObject.cs
- GatewayDefinition.cs
- TextEditorDragDrop.cs
- FolderLevelBuildProvider.cs
- WebPartCloseVerb.cs
- CountAggregationOperator.cs
- DataIdProcessor.cs
- Renderer.cs
- XmlStringTable.cs
- FilteredReadOnlyMetadataCollection.cs
- TextEditor.cs
- HtmlInputReset.cs
- NetMsmqBinding.cs
- SchemaElementLookUpTable.cs
- Interlocked.cs
- DecimalAnimation.cs
- BamlResourceSerializer.cs
- ComponentGuaranteesAttribute.cs
- AssemblySettingAttributes.cs
- HtmlContainerControl.cs
- DispatcherEventArgs.cs
- StickyNoteAnnotations.cs
- XPathNodeInfoAtom.cs
- ValidationSummary.cs
- StringSource.cs
- ExtendedPropertyDescriptor.cs
- RetriableClipboard.cs
- ReflectionPermission.cs
- HttpDictionary.cs
- RSAOAEPKeyExchangeFormatter.cs
- SystemWebSectionGroup.cs
- DataGridRow.cs
- PersistChildrenAttribute.cs
- FrameworkElementAutomationPeer.cs
- SecurityTokenException.cs
- WebPartZoneBase.cs
- UserControlCodeDomTreeGenerator.cs
- HttpListenerPrefixCollection.cs
- ResourceContainer.cs
- PixelShader.cs
- ProxySimple.cs
- XmlImplementation.cs
- BaseUriHelper.cs
- AssertUtility.cs
- CannotUnloadAppDomainException.cs
- TCPListener.cs
- DesignerVerbCollection.cs
- validationstate.cs
- XmlAttributeCollection.cs
- Visual.cs
- AxisAngleRotation3D.cs
- TemplateKeyConverter.cs
- GuidConverter.cs
- InkCanvasSelectionAdorner.cs
- FileSystemWatcher.cs
- BitmapEffectDrawing.cs
- SchemaCollectionPreprocessor.cs