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
- ElementUtil.cs
- BaseWebProxyFinder.cs
- TimeoutException.cs
- EndOfStreamException.cs
- TimelineGroup.cs
- UnsafeNativeMethodsTablet.cs
- RowCache.cs
- ContentControl.cs
- TogglePattern.cs
- BaseCodeDomTreeGenerator.cs
- RequestCache.cs
- SiteMapDataSource.cs
- SplineKeyFrames.cs
- ProviderSettingsCollection.cs
- NetSectionGroup.cs
- CodeBlockBuilder.cs
- SafeFindHandle.cs
- StorageBasedPackageProperties.cs
- XPathExpr.cs
- ProgressBarAutomationPeer.cs
- ConfigurationCollectionAttribute.cs
- ZipQueryOperator.cs
- AmbientLight.cs
- HttpWebRequestElement.cs
- OleDbMetaDataFactory.cs
- LocatorBase.cs
- SqlConnectionHelper.cs
- QuaternionValueSerializer.cs
- DateTimeConstantAttribute.cs
- TraceHandler.cs
- PeerReferralPolicy.cs
- SiteOfOriginContainer.cs
- WinCategoryAttribute.cs
- FileDialog_Vista.cs
- TimelineGroup.cs
- Exceptions.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- CodeLinePragma.cs
- FormsAuthenticationUser.cs
- RectangleHotSpot.cs
- GlobalId.cs
- QilValidationVisitor.cs
- UInt32.cs
- messageonlyhwndwrapper.cs
- _AcceptOverlappedAsyncResult.cs
- UIAgentAsyncEndRequest.cs
- SiteOfOriginContainer.cs
- UserControl.cs
- QueryModel.cs
- Pair.cs
- CheckBoxStandardAdapter.cs
- PictureBox.cs
- EntityDataReader.cs
- odbcmetadatacolumnnames.cs
- ControlOperationInvoker.cs
- SQLBytesStorage.cs
- CompilationSection.cs
- WebPartChrome.cs
- NamedElement.cs
- AgileSafeNativeMemoryHandle.cs
- SystemParameters.cs
- TextBox.cs
- AsyncCompletedEventArgs.cs
- ServiceNameElement.cs
- FilterableAttribute.cs
- Lasso.cs
- Inflater.cs
- LoadedOrUnloadedOperation.cs
- Timeline.cs
- ControlAdapter.cs
- CookieParameter.cs
- DelayedRegex.cs
- DataGridItemEventArgs.cs
- CheckBoxField.cs
- PresentationSource.cs
- TaiwanCalendar.cs
- CallContext.cs
- FrameworkRichTextComposition.cs
- DockPattern.cs
- ConstantCheck.cs
- EFDataModelProvider.cs
- StagingAreaInputItem.cs
- HierarchicalDataBoundControl.cs
- ApplicationDirectoryMembershipCondition.cs
- ServiceThrottlingElement.cs
- HandlerBase.cs
- CurrentChangingEventArgs.cs
- ProcessInputEventArgs.cs
- InkCanvasInnerCanvas.cs
- XmlDataLoader.cs
- Hashtable.cs
- DataMisalignedException.cs
- SQLDateTimeStorage.cs
- SuspendDesigner.cs
- SqlProcedureAttribute.cs
- SortFieldComparer.cs
- PointCollection.cs
- XmlSchemaElement.cs
- EdmEntityTypeAttribute.cs
- ExclusiveTcpListener.cs