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
- ObjectSpanRewriter.cs
- RtfNavigator.cs
- XmlRawWriterWrapper.cs
- GuidConverter.cs
- GridEntry.cs
- InputReport.cs
- DataSourceCacheDurationConverter.cs
- XmlBinaryReader.cs
- EventNotify.cs
- FamilyTypeface.cs
- BrowserDefinition.cs
- HandleExceptionArgs.cs
- ListViewItemMouseHoverEvent.cs
- ArrayConverter.cs
- XPathScanner.cs
- UnsafeNativeMethods.cs
- ObjectStateEntry.cs
- xmlfixedPageInfo.cs
- GcHandle.cs
- COM2PropertyDescriptor.cs
- LineGeometry.cs
- HwndStylusInputProvider.cs
- StdValidatorsAndConverters.cs
- RegexFCD.cs
- SafeLocalMemHandle.cs
- PointF.cs
- PolyLineSegmentFigureLogic.cs
- MailMessageEventArgs.cs
- EntityDataSourceState.cs
- ProfileProvider.cs
- MaterializeFromAtom.cs
- Int64.cs
- WorkflowRuntimeSection.cs
- PrintingPermission.cs
- TransactionInformation.cs
- X509Certificate2.cs
- TypeBuilderInstantiation.cs
- DocumentCollection.cs
- Int64AnimationBase.cs
- DataGridViewLayoutData.cs
- XmlCompatibilityReader.cs
- XslNumber.cs
- OdbcException.cs
- Double.cs
- MaskedTextProvider.cs
- ExpressionLink.cs
- TextInfo.cs
- TypeSystem.cs
- ServiceObjectContainer.cs
- XmlSchemaSet.cs
- BoundingRectTracker.cs
- hwndwrapper.cs
- ValueSerializerAttribute.cs
- CompleteWizardStep.cs
- TextSpanModifier.cs
- TraceUtility.cs
- IncrementalHitTester.cs
- XmlSchemaIdentityConstraint.cs
- HtmlTableRow.cs
- SpnegoTokenAuthenticator.cs
- MatrixAnimationBase.cs
- Package.cs
- CustomCredentialPolicy.cs
- XmlSignificantWhitespace.cs
- XamlGridLengthSerializer.cs
- Misc.cs
- SQLConvert.cs
- KeyEventArgs.cs
- AuthorizationRuleCollection.cs
- ClientRolePrincipal.cs
- IUnknownConstantAttribute.cs
- MatrixCamera.cs
- CustomBinding.cs
- TransferRequestHandler.cs
- X509Certificate2Collection.cs
- SecurityDescriptor.cs
- SystemPens.cs
- SqlRetyper.cs
- SecurityKeyIdentifierClause.cs
- TypeConverterMarkupExtension.cs
- ActionMismatchAddressingException.cs
- PingReply.cs
- EntityStoreSchemaFilterEntry.cs
- LocalizeDesigner.cs
- PerformanceCounterCategory.cs
- ScrollEvent.cs
- PingReply.cs
- SystemWebCachingSectionGroup.cs
- EventDescriptorCollection.cs
- Int32Rect.cs
- HostExecutionContextManager.cs
- FileDialog_Vista_Interop.cs
- PaperSize.cs
- QueryExpr.cs
- InvokeBinder.cs
- ServiceDocument.cs
- CompilerCollection.cs
- HtmlTextViewAdapter.cs
- ToolStripButton.cs
- ComplexPropertyEntry.cs