Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ApplicationServiceHelper.cs
- GlyphCache.cs
- __Error.cs
- QuadraticEase.cs
- ISAPIRuntime.cs
- RadioButtonFlatAdapter.cs
- ServiceHttpModule.cs
- RoleGroupCollectionEditor.cs
- ToolStripSystemRenderer.cs
- Missing.cs
- FontFamilyConverter.cs
- X500Name.cs
- AnchoredBlock.cs
- WindowsIPAddress.cs
- DoubleCollection.cs
- ServicePoint.cs
- Tile.cs
- SearchForVirtualItemEventArgs.cs
- SqlNodeTypeOperators.cs
- ProjectionQueryOptionExpression.cs
- RecordBuilder.cs
- DataGridViewRowPostPaintEventArgs.cs
- SerializationHelper.cs
- IndexedEnumerable.cs
- HatchBrush.cs
- DynamicDiscoSearcher.cs
- ECDsaCng.cs
- NonBatchDirectoryCompiler.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- ExpressionVisitorHelpers.cs
- DecoratedNameAttribute.cs
- ParsedAttributeCollection.cs
- __ComObject.cs
- ImageClickEventArgs.cs
- Panel.cs
- EventLogPermissionHolder.cs
- EventHandlerService.cs
- ByteStreamMessageEncoder.cs
- HostProtectionException.cs
- MailDefinition.cs
- BindingCollection.cs
- DynamicDataManager.cs
- SafeWaitHandle.cs
- SharedUtils.cs
- DPTypeDescriptorContext.cs
- SpStreamWrapper.cs
- AutoFocusStyle.xaml.cs
- UnsafeCollabNativeMethods.cs
- DataGridViewTopRowAccessibleObject.cs
- ShortcutKeysEditor.cs
- AnyReturnReader.cs
- ParamArrayAttribute.cs
- RelatedImageListAttribute.cs
- Function.cs
- InputProcessorProfilesLoader.cs
- SqlDesignerDataSourceView.cs
- MultiTrigger.cs
- IListConverters.cs
- Int16Animation.cs
- XmlElementAttribute.cs
- Trace.cs
- WindowsToolbar.cs
- ProfileService.cs
- WindowsImpersonationContext.cs
- ParseHttpDate.cs
- LinkLabel.cs
- ModifierKeysConverter.cs
- FixedSOMSemanticBox.cs
- MissingFieldException.cs
- SiteMapPath.cs
- HttpRequestWrapper.cs
- SubtreeProcessor.cs
- ExeContext.cs
- Geometry.cs
- AnnotationStore.cs
- MouseOverProperty.cs
- Authorization.cs
- Image.cs
- XPathSelectionIterator.cs
- GraphicsPathIterator.cs
- MergeEnumerator.cs
- HttpCachePolicyBase.cs
- WindowsGrip.cs
- SHA384Managed.cs
- XmlSchemaNotation.cs
- MonitoringDescriptionAttribute.cs
- ImagingCache.cs
- ContractValidationHelper.cs
- SizeConverter.cs
- ConfigurationLocation.cs
- SimpleType.cs
- ClientUrlResolverWrapper.cs
- PartialList.cs
- GradientBrush.cs
- XmlReaderDelegator.cs
- TemplateApplicationHelper.cs
- SynthesizerStateChangedEventArgs.cs
- PartitionedStreamMerger.cs
- SettingsPropertyIsReadOnlyException.cs
- JumpList.cs