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
- Compiler.cs
- HelpKeywordAttribute.cs
- ZipIOExtraFieldZip64Element.cs
- AxHost.cs
- ReflectionUtil.cs
- SamlSecurityToken.cs
- RSAPKCS1SignatureDeformatter.cs
- DecoderReplacementFallback.cs
- DSACryptoServiceProvider.cs
- RegexMatchCollection.cs
- ApplicationTrust.cs
- DbProviderConfigurationHandler.cs
- CodeDOMProvider.cs
- DataIdProcessor.cs
- StreamWithDictionary.cs
- NgenServicingAttributes.cs
- RowCache.cs
- Vector3DIndependentAnimationStorage.cs
- ImportedPolicyConversionContext.cs
- SafeCertificateStore.cs
- PrinterUnitConvert.cs
- ManagementOptions.cs
- GCHandleCookieTable.cs
- SecurityHelper.cs
- Serialization.cs
- IERequestCache.cs
- BStrWrapper.cs
- TreeNodeClickEventArgs.cs
- QilDataSource.cs
- WebRequest.cs
- SmiRecordBuffer.cs
- ReverseComparer.cs
- RNGCryptoServiceProvider.cs
- StyleCollectionEditor.cs
- OutputCacheSection.cs
- BrushConverter.cs
- TableLayoutColumnStyleCollection.cs
- CellParaClient.cs
- Automation.cs
- ReferenceEqualityComparer.cs
- QilVisitor.cs
- ListViewItemMouseHoverEvent.cs
- ChangesetResponse.cs
- PackageFilter.cs
- XmlAttributes.cs
- CompilerScope.cs
- SubordinateTransaction.cs
- GifBitmapEncoder.cs
- LZCodec.cs
- ACL.cs
- ImageBrush.cs
- ObjectToken.cs
- ConstructorNeedsTagAttribute.cs
- StatusBarPanel.cs
- Invariant.cs
- EventSourceCreationData.cs
- SourceLocation.cs
- Model3D.cs
- Empty.cs
- StorageAssociationTypeMapping.cs
- ReadOnlyHierarchicalDataSourceView.cs
- _HelperAsyncResults.cs
- FlowStep.cs
- SqlGenericUtil.cs
- HWStack.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- DoubleAnimation.cs
- Span.cs
- ColorContextHelper.cs
- FillBehavior.cs
- WindowsListViewScroll.cs
- DocumentReferenceCollection.cs
- ByteStream.cs
- HttpConfigurationContext.cs
- DateTimeValueSerializerContext.cs
- PerformanceCounter.cs
- EventLogEntryCollection.cs
- LocalizationParserHooks.cs
- WebPartRestoreVerb.cs
- DataAdapter.cs
- DocumentViewerBase.cs
- PasswordTextNavigator.cs
- GeometryCollection.cs
- NamespaceEmitter.cs
- ProtectedConfigurationProviderCollection.cs
- XmlToDatasetMap.cs
- Accessible.cs
- EventArgs.cs
- TextTreeNode.cs
- XPathAncestorQuery.cs
- DataFormats.cs
- DependencyObject.cs
- WinFormsComponentEditor.cs
- DependencyPropertyChangedEventArgs.cs
- Label.cs
- DefinitionBase.cs
- FileVersionInfo.cs
- SQLMembershipProvider.cs
- BlurEffect.cs
- _SslSessionsCache.cs