Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SessionState.cs
- FileClassifier.cs
- ClientScriptManagerWrapper.cs
- XmlSchemaNotation.cs
- WebHttpElement.cs
- StaticDataManager.cs
- SizeKeyFrameCollection.cs
- Rules.cs
- OperationCanceledException.cs
- TemplateApplicationHelper.cs
- MetadataUtilsSmi.cs
- DependencyPropertyAttribute.cs
- SingleQueryOperator.cs
- PrePrepareMethodAttribute.cs
- DocumentPage.cs
- SystemIPv4InterfaceProperties.cs
- ToolStripPanelCell.cs
- OnOperation.cs
- Authorization.cs
- Point3DValueSerializer.cs
- Page.cs
- LoginUtil.cs
- XmlChildEnumerator.cs
- MultipleViewPattern.cs
- SecurityElement.cs
- AddingNewEventArgs.cs
- XsltArgumentList.cs
- ReadOnlyCollectionBase.cs
- Repeater.cs
- SelectiveScrollingGrid.cs
- WindowsGrip.cs
- HtmlAnchor.cs
- SqlOuterApplyReducer.cs
- XmlRootAttribute.cs
- NavigatingCancelEventArgs.cs
- RoutedEventArgs.cs
- SpotLight.cs
- XmlSchemaComplexType.cs
- NativeMethodsOther.cs
- CapabilitiesPattern.cs
- MexHttpsBindingCollectionElement.cs
- TextHintingModeValidation.cs
- XmlSchemaSubstitutionGroup.cs
- dbenumerator.cs
- PropertyPath.cs
- ExceptionHandlers.cs
- RadioButtonFlatAdapter.cs
- ChtmlMobileTextWriter.cs
- ValidationError.cs
- DbDataRecord.cs
- ProcessModelInfo.cs
- WorkItem.cs
- DurationConverter.cs
- XmlSchemaObject.cs
- IndentedTextWriter.cs
- GridView.cs
- odbcmetadatacolumnnames.cs
- OleDbRowUpdatingEvent.cs
- ProgressBar.cs
- PcmConverter.cs
- ConstrainedDataObject.cs
- DataTablePropertyDescriptor.cs
- Rules.cs
- TextServicesCompartmentContext.cs
- StylusPoint.cs
- HierarchicalDataBoundControl.cs
- Icon.cs
- ExpandSegment.cs
- ChannelFactory.cs
- TextTrailingWordEllipsis.cs
- SortExpressionBuilder.cs
- PriorityChain.cs
- WebResourceUtil.cs
- WorkflowTimerService.cs
- WindowsStartMenu.cs
- Int32AnimationUsingKeyFrames.cs
- CleanUpVirtualizedItemEventArgs.cs
- Helpers.cs
- Point3DCollectionValueSerializer.cs
- MultiView.cs
- HttpModulesSection.cs
- FormViewInsertEventArgs.cs
- TableRow.cs
- ReachObjectContext.cs
- SamlConditions.cs
- Container.cs
- SiteMapProvider.cs
- HttpNamespaceReservationInstallComponent.cs
- EncoderNLS.cs
- TypeResolvingOptionsAttribute.cs
- Operators.cs
- PartialTrustVisibleAssemblyCollection.cs
- XmlCharCheckingReader.cs
- ColorConverter.cs
- DefaultPrintController.cs
- Console.cs
- InvokeMemberBinder.cs
- MasterPage.cs
- CommandHelpers.cs
- BufferedStream.cs