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
- EnvelopedSignatureTransform.cs
- Quaternion.cs
- SupportingTokenBindingElement.cs
- MergablePropertyAttribute.cs
- ToolStripContentPanelRenderEventArgs.cs
- ProbeMatchesMessageCD1.cs
- PartialTrustVisibleAssembliesSection.cs
- StylusCaptureWithinProperty.cs
- UpnEndpointIdentityExtension.cs
- DeviceContext.cs
- LabelDesigner.cs
- EntityStoreSchemaGenerator.cs
- HttpCookieCollection.cs
- XmlDocumentType.cs
- ResourcePool.cs
- ErrorWrapper.cs
- OleDbConnection.cs
- BasicBrowserDialog.designer.cs
- ProfilePropertyNameValidator.cs
- ConstNode.cs
- RegistrySecurity.cs
- Switch.cs
- JsonReader.cs
- ControlIdConverter.cs
- StickyNoteAnnotations.cs
- SqlProviderServices.cs
- DateTimeConstantAttribute.cs
- PageContentCollection.cs
- DataGridViewRowsRemovedEventArgs.cs
- Resources.Designer.cs
- DataGridItemAttachedStorage.cs
- PrintDialog.cs
- Pair.cs
- AuthenticationServiceManager.cs
- DebugHandleTracker.cs
- SrgsGrammarCompiler.cs
- SdlChannelSink.cs
- StringResourceManager.cs
- XmlUtf8RawTextWriter.cs
- PathSegment.cs
- RangeValidator.cs
- DbProviderSpecificTypePropertyAttribute.cs
- SecurityVersion.cs
- AspCompat.cs
- BoundingRectTracker.cs
- ToolboxItemCollection.cs
- AspNetSynchronizationContext.cs
- DesignConnectionCollection.cs
- PickDesigner.xaml.cs
- CompoundFileStreamReference.cs
- HWStack.cs
- FileEnumerator.cs
- ElementProxy.cs
- PageParserFilter.cs
- UnmanagedMemoryStream.cs
- EventMappingSettings.cs
- PassportAuthenticationModule.cs
- OrCondition.cs
- querybuilder.cs
- Listbox.cs
- TableRow.cs
- PlacementWorkspace.cs
- MultiSelector.cs
- ColorMatrix.cs
- TypeConverter.cs
- Ray3DHitTestResult.cs
- EmitterCache.cs
- TextSelectionProcessor.cs
- ProxyGenerationError.cs
- PropertyChangedEventArgs.cs
- BrowserCapabilitiesCompiler.cs
- HandleCollector.cs
- FormatterConverter.cs
- DataRowComparer.cs
- Graph.cs
- BrowserCapabilitiesFactory.cs
- CorrelationService.cs
- NotFiniteNumberException.cs
- ChangePassword.cs
- ProviderUtil.cs
- PopupRoot.cs
- CacheMemory.cs
- mil_commands.cs
- XamlContextStack.cs
- LongValidator.cs
- RsaSecurityTokenParameters.cs
- ComponentCodeDomSerializer.cs
- CommonDialog.cs
- SimpleType.cs
- RSAPKCS1KeyExchangeFormatter.cs
- XmlAtomicValue.cs
- HierarchicalDataSourceControl.cs
- Object.cs
- AccessKeyManager.cs
- LexicalChunk.cs
- Padding.cs
- EncodingInfo.cs
- EventlogProvider.cs
- RegistryKey.cs
- InputScopeConverter.cs