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
- VisualStyleInformation.cs
- FloaterParaClient.cs
- SHA512.cs
- DataObjectFieldAttribute.cs
- QueryableFilterUserControl.cs
- ToolStripItemGlyph.cs
- EventDescriptor.cs
- FixUp.cs
- SafeWaitHandle.cs
- Memoizer.cs
- SpeakCompletedEventArgs.cs
- MasterPageBuildProvider.cs
- ItemAutomationPeer.cs
- MissingFieldException.cs
- AutoResizedEvent.cs
- Internal.cs
- OleDbStruct.cs
- NumberFormatInfo.cs
- CommandCollectionEditor.cs
- ProviderCollection.cs
- InitializationEventAttribute.cs
- XmlSchemaIdentityConstraint.cs
- SynchronizationLockException.cs
- HtmlDocument.cs
- Imaging.cs
- DbMetaDataColumnNames.cs
- versioninfo.cs
- SQLDecimal.cs
- SqlLiftWhereClauses.cs
- _HelperAsyncResults.cs
- SetStoryboardSpeedRatio.cs
- TypeGeneratedEventArgs.cs
- DirtyTextRange.cs
- FlowDocumentView.cs
- IdnMapping.cs
- AppModelKnownContentFactory.cs
- FontStyleConverter.cs
- Condition.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- _RequestCacheProtocol.cs
- XPathPatternParser.cs
- PropertyDescriptorCollection.cs
- WorkflowQueuingService.cs
- XomlCompilerError.cs
- ImageListImageEditor.cs
- ConsumerConnectionPoint.cs
- SettingsContext.cs
- LineSegment.cs
- GPPOINTF.cs
- SocketPermission.cs
- HashAlgorithm.cs
- ProxyManager.cs
- ZoneMembershipCondition.cs
- HiddenFieldPageStatePersister.cs
- RuleSettings.cs
- CatalogPartChrome.cs
- PeekCompletedEventArgs.cs
- RelationshipSet.cs
- SqlRowUpdatedEvent.cs
- RowVisual.cs
- CompatibleIComparer.cs
- SelectionProviderWrapper.cs
- BindingContext.cs
- LabelLiteral.cs
- InfiniteTimeSpanConverter.cs
- FocusWithinProperty.cs
- CustomGrammar.cs
- WorkItem.cs
- FindCriteriaElement.cs
- SqlReorderer.cs
- TaskSchedulerException.cs
- BufferedReadStream.cs
- RadioButtonDesigner.cs
- WindowsAuthenticationModule.cs
- XmlWrappingReader.cs
- ProfileProvider.cs
- GridViewColumnCollection.cs
- RequestNavigateEventArgs.cs
- PostBackTrigger.cs
- SmtpClient.cs
- AmbiguousMatchException.cs
- ModifierKeysConverter.cs
- DataGrid.cs
- CommandValueSerializer.cs
- MouseWheelEventArgs.cs
- WebBrowsableAttribute.cs
- FactoryRecord.cs
- SpellerStatusTable.cs
- OracleBFile.cs
- CompilerGeneratedAttribute.cs
- BaseTransportHeaders.cs
- NativeBuffer.cs
- ReferencedCollectionType.cs
- FileDialog_Vista.cs
- ReplacementText.cs
- SqlUtil.cs
- XmlAttributeOverrides.cs
- IListConverters.cs
- ProfessionalColorTable.cs
- Filter.cs