Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / OleDb / OleDbInfoMessageEvent.cs / 1305376 / OleDbInfoMessageEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.Diagnostics; public 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; public 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
- DataGridViewCellToolTipTextNeededEventArgs.cs
- ITextView.cs
- ResXBuildProvider.cs
- __ComObject.cs
- TextHintingModeValidation.cs
- EventArgs.cs
- PropertyGridCommands.cs
- SemaphoreSecurity.cs
- ActivationServices.cs
- BufferModeSettings.cs
- QilInvokeLateBound.cs
- TrustManagerMoreInformation.cs
- HtmlTableCell.cs
- EntityDesignerUtils.cs
- ViewBox.cs
- XXXOnTypeBuilderInstantiation.cs
- FilterException.cs
- TextParagraphCache.cs
- CodeNamespaceCollection.cs
- InheritedPropertyDescriptor.cs
- DbProviderFactory.cs
- CodeExpressionCollection.cs
- Location.cs
- ConfigurationSection.cs
- ViewCellRelation.cs
- JsonReaderDelegator.cs
- MarkupCompilePass1.cs
- XslNumber.cs
- Sequence.cs
- TypeConverterHelper.cs
- ListItemCollection.cs
- OdbcFactory.cs
- ProtocolImporter.cs
- JoinElimination.cs
- BitmapEffectInput.cs
- HTMLTextWriter.cs
- FontDriver.cs
- XslTransform.cs
- ImageCollectionEditor.cs
- ClientUrlResolverWrapper.cs
- Overlapped.cs
- ObjectItemAttributeAssemblyLoader.cs
- SurrogateDataContract.cs
- ObjectTag.cs
- Button.cs
- ToggleButtonAutomationPeer.cs
- StringComparer.cs
- SystemIPInterfaceProperties.cs
- WebColorConverter.cs
- PriorityQueue.cs
- DateTime.cs
- DirtyTextRange.cs
- CryptoKeySecurity.cs
- tooltip.cs
- FileDialogPermission.cs
- SecurityState.cs
- CompositeFontFamily.cs
- RouteItem.cs
- InvariantComparer.cs
- TextBox.cs
- ResourceCategoryAttribute.cs
- ControlValuePropertyAttribute.cs
- UndirectedGraph.cs
- EventMap.cs
- RtfFormatStack.cs
- thaishape.cs
- JoinCqlBlock.cs
- FileStream.cs
- XmlSerializerNamespaces.cs
- XmlQualifiedName.cs
- SqlTypeConverter.cs
- ConstraintEnumerator.cs
- DynamicILGenerator.cs
- CharEnumerator.cs
- WindowPattern.cs
- DefaultHttpHandler.cs
- Module.cs
- Misc.cs
- FixedDocument.cs
- AstTree.cs
- DataTemplate.cs
- DataTrigger.cs
- TextFormatter.cs
- ContentPosition.cs
- PageTextBox.cs
- TextFormatterContext.cs
- CodeNamespaceCollection.cs
- ItemCollectionEditor.cs
- FirstMatchCodeGroup.cs
- GridView.cs
- CultureMapper.cs
- StylusButton.cs
- ContentWrapperAttribute.cs
- TrustLevel.cs
- XamlFigureLengthSerializer.cs
- CodeDomDesignerLoader.cs
- FigureParagraph.cs
- Typeface.cs
- SQLResource.cs
- BulletedList.cs