Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CompilerGeneratedAttribute.cs
- EventEntry.cs
- TypefaceMap.cs
- UnknownWrapper.cs
- CreateUserWizardStep.cs
- FixedPageProcessor.cs
- DataGridViewLayoutData.cs
- DataComponentNameHandler.cs
- UIElement.cs
- EdmValidator.cs
- WindowsHyperlink.cs
- TextDecorationCollectionConverter.cs
- QilTargetType.cs
- MgmtResManager.cs
- WhitespaceRule.cs
- Nullable.cs
- RightsManagementPermission.cs
- RelatedCurrencyManager.cs
- SiteIdentityPermission.cs
- HttpListener.cs
- Marshal.cs
- Int32EqualityComparer.cs
- ConfigurationManagerHelper.cs
- VirtualPathData.cs
- IApplicationTrustManager.cs
- HttpRuntimeSection.cs
- DoubleLink.cs
- NativeMethods.cs
- PropertyChangingEventArgs.cs
- BlurEffect.cs
- ThumbAutomationPeer.cs
- _CacheStreams.cs
- LineInfo.cs
- HtmlLink.cs
- SmiRequestExecutor.cs
- ApplicationDirectory.cs
- RestHandlerFactory.cs
- SqlReferenceCollection.cs
- SHA256.cs
- RefExpr.cs
- SkipQueryOptionExpression.cs
- FontSizeConverter.cs
- Queue.cs
- CurrencyWrapper.cs
- updatecommandorderer.cs
- BadImageFormatException.cs
- GACIdentityPermission.cs
- MiniModule.cs
- WebPartConnectionsConfigureVerb.cs
- PropertyInfoSet.cs
- XmlSubtreeReader.cs
- AggregateException.cs
- NonPrimarySelectionGlyph.cs
- MetadataWorkspace.cs
- ProgressChangedEventArgs.cs
- EventWaitHandle.cs
- ProtocolsConfiguration.cs
- RSAPKCS1SignatureDeformatter.cs
- EmbossBitmapEffect.cs
- SchemaAttDef.cs
- QueryStack.cs
- PostBackTrigger.cs
- ConfigurationStrings.cs
- DataBoundControl.cs
- WebEventCodes.cs
- LoginView.cs
- DataBindingExpressionBuilder.cs
- ToolZone.cs
- EmissiveMaterial.cs
- HTTPNotFoundHandler.cs
- ColumnPropertiesGroup.cs
- Internal.cs
- LabelAutomationPeer.cs
- WebPartsSection.cs
- TypeListConverter.cs
- RequestCachingSection.cs
- TogglePatternIdentifiers.cs
- EmbeddedMailObjectsCollection.cs
- CodePageUtils.cs
- IisTraceListener.cs
- GenericIdentity.cs
- LocationEnvironment.cs
- ValueSerializer.cs
- MD5.cs
- TemplateBindingExtensionConverter.cs
- IgnoreSection.cs
- LifetimeServices.cs
- MethodBody.cs
- DataControlFieldHeaderCell.cs
- DataObjectCopyingEventArgs.cs
- DataSourceDesigner.cs
- SafeFindHandle.cs
- DataGridPagingPage.cs
- XmlAttributeOverrides.cs
- Matrix3DStack.cs
- SoapSchemaExporter.cs
- BaseParagraph.cs
- BinaryUtilClasses.cs
- DynamicDiscoveryDocument.cs
- MSAAWinEventWrap.cs