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
- PropertyReferenceExtension.cs
- WindowsPen.cs
- OleDbRowUpdatingEvent.cs
- XmlLinkedNode.cs
- UnsafeNativeMethods.cs
- TabOrder.cs
- FlagsAttribute.cs
- XmlSigningNodeWriter.cs
- SourceChangedEventArgs.cs
- ItemAutomationPeer.cs
- AccessibleObject.cs
- Validator.cs
- ContextQuery.cs
- LoadRetryStrategyFactory.cs
- PnrpPermission.cs
- querybuilder.cs
- AccessViolationException.cs
- XmlSchemaSimpleTypeList.cs
- _SingleItemRequestCache.cs
- FakeModelPropertyImpl.cs
- Literal.cs
- ResourcePermissionBaseEntry.cs
- Activator.cs
- ColumnCollection.cs
- Material.cs
- DataGridPagerStyle.cs
- ConstructorExpr.cs
- OdbcHandle.cs
- ClrPerspective.cs
- ScrollBar.cs
- Queue.cs
- NamedPermissionSet.cs
- GeometryDrawing.cs
- ContractUtils.cs
- MarkupExtensionParser.cs
- TreeIterator.cs
- WebPartConnectionsCancelVerb.cs
- RandomNumberGenerator.cs
- FilteredReadOnlyMetadataCollection.cs
- DbConnectionFactory.cs
- CustomErrorsSection.cs
- FixedSOMSemanticBox.cs
- MaskDescriptors.cs
- XmlSchemaInclude.cs
- DeviceContexts.cs
- UInt64Converter.cs
- MultiViewDesigner.cs
- ModifiableIteratorCollection.cs
- StrokeFIndices.cs
- TableItemStyle.cs
- MailMessageEventArgs.cs
- MultilineStringConverter.cs
- TextProperties.cs
- ListViewUpdateEventArgs.cs
- ServiceNameElement.cs
- ReadOnlyTernaryTree.cs
- InstallerTypeAttribute.cs
- WmpBitmapDecoder.cs
- TimeoutException.cs
- SettingsPropertyNotFoundException.cs
- SmtpMail.cs
- Metadata.cs
- _IPv4Address.cs
- FusionWrap.cs
- DataGridViewUtilities.cs
- RotateTransform3D.cs
- OutputCacheProfileCollection.cs
- XmlSchemaAttributeGroupRef.cs
- RTLAwareMessageBox.cs
- FlowLayoutPanel.cs
- XmlNavigatorFilter.cs
- NumericExpr.cs
- LinkLabel.cs
- SamlSerializer.cs
- AsyncStreamReader.cs
- WsdlBuildProvider.cs
- ApplicationFileParser.cs
- OleDbRowUpdatedEvent.cs
- DbConnectionOptions.cs
- OleDbParameterCollection.cs
- HttpContext.cs
- WebPartTransformerCollection.cs
- RecordBuilder.cs
- ManipulationStartedEventArgs.cs
- SR.cs
- ForEachAction.cs
- ManifestResourceInfo.cs
- Win32MouseDevice.cs
- MaterialCollection.cs
- Semaphore.cs
- OAVariantLib.cs
- NavigationExpr.cs
- PolyBezierSegment.cs
- HighlightComponent.cs
- SystemNetworkInterface.cs
- FrameworkElementAutomationPeer.cs
- MembershipValidatePasswordEventArgs.cs
- Literal.cs
- UniqueEventHelper.cs
- GridViewDeletedEventArgs.cs