Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- UpDownBase.cs
- SetterBase.cs
- XmlSchemaAnnotation.cs
- ElementProxy.cs
- WindowsTokenRoleProvider.cs
- SQLBinary.cs
- XPathConvert.cs
- IgnoreSection.cs
- RequestBringIntoViewEventArgs.cs
- TypeResolvingOptions.cs
- DoubleLink.cs
- ConnectionPointCookie.cs
- MarshalByRefObject.cs
- _AutoWebProxyScriptEngine.cs
- DrawingImage.cs
- mongolianshape.cs
- TdsEnums.cs
- CapacityStreamGeometryContext.cs
- DataControlFieldsEditor.cs
- DefaultPrintController.cs
- XmlBinaryReaderSession.cs
- XmlNodeChangedEventArgs.cs
- LinearQuaternionKeyFrame.cs
- PrefixQName.cs
- FragmentNavigationEventArgs.cs
- ResolveDuplex11AsyncResult.cs
- HttpProxyCredentialType.cs
- ListenerElementsCollection.cs
- DropSourceBehavior.cs
- AutomationElementCollection.cs
- WebPartDescription.cs
- CqlParserHelpers.cs
- FlowDocumentPaginator.cs
- VisualBrush.cs
- CatalogZone.cs
- RTLAwareMessageBox.cs
- EdmItemError.cs
- BitmapEffectrendercontext.cs
- AccessedThroughPropertyAttribute.cs
- WizardStepBase.cs
- RelationshipDetailsRow.cs
- MouseButtonEventArgs.cs
- ChangeTracker.cs
- DateBoldEvent.cs
- PropertyFilterAttribute.cs
- Configuration.cs
- ModifierKeysConverter.cs
- CompositeDuplexBindingElementImporter.cs
- GetWinFXPath.cs
- DataSourceXmlAttributeAttribute.cs
- HttpException.cs
- UrlAuthFailedErrorFormatter.cs
- CancelEventArgs.cs
- GroupBox.cs
- TextElementCollection.cs
- BrowserDefinitionCollection.cs
- DuplexChannelFactory.cs
- StandardToolWindows.cs
- MaterialCollection.cs
- ColumnBinding.cs
- Calendar.cs
- ReflectionPermission.cs
- ChtmlMobileTextWriter.cs
- StatusBarPanel.cs
- XamlVector3DCollectionSerializer.cs
- UnionCodeGroup.cs
- WebPartVerbsEventArgs.cs
- RSAPKCS1SignatureFormatter.cs
- DiagnosticsConfigurationHandler.cs
- GeneralTransform3DCollection.cs
- QueryableDataSourceView.cs
- WebPartTransformer.cs
- ControlPersister.cs
- UrlMappingCollection.cs
- WebMethodAttribute.cs
- MD5.cs
- DbTypeMap.cs
- ExtractedStateEntry.cs
- DbInsertCommandTree.cs
- X509SubjectKeyIdentifierClause.cs
- XPathPatternBuilder.cs
- HttpRequestContext.cs
- XmlWrappingReader.cs
- Utils.cs
- RecognizerStateChangedEventArgs.cs
- XmlSchemaComplexType.cs
- Shape.cs
- WhitespaceRuleReader.cs
- hwndwrapper.cs
- RawStylusActions.cs
- CollectionConverter.cs
- XmlImplementation.cs
- UnsafePeerToPeerMethods.cs
- ContainerAction.cs
- XmlDigitalSignatureProcessor.cs
- TreeViewTemplateSelector.cs
- securestring.cs
- PropertyKey.cs
- FullTextLine.cs
- HelpKeywordAttribute.cs