Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- StreamUpgradeInitiator.cs
- Validator.cs
- webeventbuffer.cs
- XmlLinkedNode.cs
- XmlSchemaIdentityConstraint.cs
- EventHandlerList.cs
- _UriSyntax.cs
- SpinWait.cs
- TextBoxView.cs
- DuplexClientBase.cs
- ContainerControl.cs
- EmptyElement.cs
- Vector3DCollectionConverter.cs
- DataTableReaderListener.cs
- TextContainerChangeEventArgs.cs
- ReadOnlyCollectionBase.cs
- ApplicationSecurityInfo.cs
- ResourceManager.cs
- VirtualDirectoryMappingCollection.cs
- InputProviderSite.cs
- AssemblyUtil.cs
- CodeDefaultValueExpression.cs
- ProfileProvider.cs
- HttpProfileBase.cs
- SystemResourceKey.cs
- AutomationPatternInfo.cs
- ToolStripRenderer.cs
- DPTypeDescriptorContext.cs
- MembershipUser.cs
- HttpConfigurationSystem.cs
- DefaultValueTypeConverter.cs
- TextBoxBase.cs
- DesignBindingValueUIHandler.cs
- MdiWindowListStrip.cs
- SortAction.cs
- UidPropertyAttribute.cs
- DataSvcMapFile.cs
- OleDbError.cs
- MobileContainerDesigner.cs
- MaskedTextBox.cs
- UIHelper.cs
- ListDataBindEventArgs.cs
- QueryConverter.cs
- TransformedBitmap.cs
- EventHandlers.cs
- SHA512Managed.cs
- TextTreeTextBlock.cs
- BitmapPalette.cs
- GridView.cs
- UInt16Storage.cs
- StyleCollection.cs
- MimeAnyImporter.cs
- HttpDictionary.cs
- RectangleGeometry.cs
- XPathBinder.cs
- IteratorFilter.cs
- DelegateBodyWriter.cs
- CachedCompositeFamily.cs
- DefaultPropertiesToSend.cs
- TableLayoutSettingsTypeConverter.cs
- WebBrowserNavigatingEventHandler.cs
- JsonDataContract.cs
- CompiledQueryCacheKey.cs
- DependencyPropertyDescriptor.cs
- XmlSchemas.cs
- LicenseProviderAttribute.cs
- CompilerLocalReference.cs
- SocketStream.cs
- NativeMethods.cs
- ServiceCredentialsSecurityTokenManager.cs
- MaskedTextBoxDesignerActionList.cs
- HitTestParameters.cs
- ExpandedWrapper.cs
- SystemParameters.cs
- InputManager.cs
- StateMachineHelpers.cs
- Collection.cs
- ProfileParameter.cs
- ValueUnavailableException.cs
- RuntimeConfigLKG.cs
- ProgressPage.cs
- DropTarget.cs
- ReversePositionQuery.cs
- DetailsViewDeleteEventArgs.cs
- NumericUpDownAcceleration.cs
- RegexCharClass.cs
- EncoderReplacementFallback.cs
- ReaderOutput.cs
- LocationUpdates.cs
- PenCursorManager.cs
- CallbackValidator.cs
- AdornerHitTestResult.cs
- HtmlImageAdapter.cs
- XmlAnyAttributeAttribute.cs
- ReadWriteObjectLock.cs
- MatrixAnimationBase.cs
- XmlUrlEditor.cs
- ListParaClient.cs
- TraceLevelHelper.cs
- HuffCodec.cs