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
- PreviewPageInfo.cs
- SettingsPropertyWrongTypeException.cs
- HMACMD5.cs
- ColumnMapCopier.cs
- SQLDateTime.cs
- GatewayIPAddressInformationCollection.cs
- SharedUtils.cs
- StyleCollectionEditor.cs
- ResumeStoryboard.cs
- Internal.cs
- Configuration.cs
- BinaryQueryOperator.cs
- EntityKeyElement.cs
- WorkflowMarkupSerializer.cs
- WebHttpSecurityElement.cs
- FontFamilyValueSerializer.cs
- OracleRowUpdatedEventArgs.cs
- TableItemPattern.cs
- HistoryEventArgs.cs
- WmiInstallComponent.cs
- DataContract.cs
- MessageBox.cs
- QilXmlWriter.cs
- MatrixCamera.cs
- ViewgenContext.cs
- SapiRecognizer.cs
- LabelLiteral.cs
- DeviceSpecificChoice.cs
- AncestorChangedEventArgs.cs
- GlyphElement.cs
- XMLUtil.cs
- ReferenceCountedObject.cs
- ChangePasswordAutoFormat.cs
- TableItemProviderWrapper.cs
- ComponentDispatcher.cs
- Crypto.cs
- Span.cs
- JsonDeserializer.cs
- RootDesignerSerializerAttribute.cs
- FactoryId.cs
- ColorMatrix.cs
- SoapAttributeAttribute.cs
- XamlInt32CollectionSerializer.cs
- SqlInternalConnectionTds.cs
- SystemWebCachingSectionGroup.cs
- RewritingPass.cs
- SecurityException.cs
- SafeFileMappingHandle.cs
- PropertyValueUIItem.cs
- PagePropertiesChangingEventArgs.cs
- FloaterParaClient.cs
- RunWorkerCompletedEventArgs.cs
- CatalogZone.cs
- CaseInsensitiveComparer.cs
- CompilerGeneratedAttribute.cs
- ExpressionBindingCollection.cs
- PKCS1MaskGenerationMethod.cs
- TextBox.cs
- XPathException.cs
- OdbcEnvironmentHandle.cs
- OciEnlistContext.cs
- ItemsPresenter.cs
- DoWorkEventArgs.cs
- SQLChars.cs
- Span.cs
- LogLogRecordHeader.cs
- XXXInfos.cs
- AnimationStorage.cs
- PropertyTabAttribute.cs
- ScanQueryOperator.cs
- CombinedTcpChannel.cs
- DefaultSerializationProviderAttribute.cs
- TargetControlTypeCache.cs
- TreeViewHitTestInfo.cs
- FilterException.cs
- NTAccount.cs
- ThaiBuddhistCalendar.cs
- OdbcConnection.cs
- FindRequestContext.cs
- WebScriptEnablingElement.cs
- ParameterInfo.cs
- XmlTextReaderImplHelpers.cs
- mediaeventshelper.cs
- LowerCaseStringConverter.cs
- NavigationPropertySingletonExpression.cs
- EmissiveMaterial.cs
- ResourceAssociationTypeEnd.cs
- PointLight.cs
- AdapterUtil.cs
- ModuleConfigurationInfo.cs
- RewritingSimplifier.cs
- XmlSchemaObjectTable.cs
- PathFigureCollectionConverter.cs
- TagPrefixCollection.cs
- SoapServerMethod.cs
- LicenseContext.cs
- WSSecurityXXX2005.cs
- MobileControlPersister.cs
- Queue.cs
- WindowsGraphicsCacheManager.cs