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
- SessionStateItemCollection.cs
- WebException.cs
- _OverlappedAsyncResult.cs
- SettingsBindableAttribute.cs
- DataPagerCommandEventArgs.cs
- EntityDataSourceStatementEditor.cs
- HScrollBar.cs
- ResourceExpressionBuilder.cs
- HttpGetProtocolReflector.cs
- HtmlInputReset.cs
- TrustManagerPromptUI.cs
- AdvancedBindingEditor.cs
- Grammar.cs
- PresentationSource.cs
- Site.cs
- CompilationLock.cs
- WindowsFormsHostAutomationPeer.cs
- FileLevelControlBuilderAttribute.cs
- RtfControlWordInfo.cs
- _Semaphore.cs
- Part.cs
- EditorZoneDesigner.cs
- GradientSpreadMethodValidation.cs
- RowCache.cs
- QualificationDataItem.cs
- TextChangedEventArgs.cs
- XmlCustomFormatter.cs
- SafeProcessHandle.cs
- DataGridLinkButton.cs
- UrlMappingsSection.cs
- WebPartConnectionsCancelEventArgs.cs
- BigInt.cs
- InstanceContext.cs
- ReadOnlyDictionary.cs
- ArrayElementGridEntry.cs
- shaperfactory.cs
- SqlWebEventProvider.cs
- _ConnectionGroup.cs
- XmlMapping.cs
- XmlSchemaGroup.cs
- HttpSessionStateWrapper.cs
- WindowsPrincipal.cs
- DynamicValueConverter.cs
- EditingCommands.cs
- CriticalHandle.cs
- DocumentXmlWriter.cs
- FacetChecker.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- TableStyle.cs
- BufferedWebEventProvider.cs
- NativeMethods.cs
- ErrorFormatter.cs
- BufferBuilder.cs
- SchemaTypeEmitter.cs
- DataGridViewRow.cs
- ServiceModelConfiguration.cs
- WindowExtensionMethods.cs
- wgx_sdk_version.cs
- MatrixConverter.cs
- HtmlElementEventArgs.cs
- CustomLineCap.cs
- SendMailErrorEventArgs.cs
- BatchParser.cs
- TreeNodeCollection.cs
- SqlCommand.cs
- ListenerConnectionModeReader.cs
- BinaryParser.cs
- TypedTableBaseExtensions.cs
- SerializationInfoEnumerator.cs
- HttpClientChannel.cs
- ZipArchive.cs
- KeyConstraint.cs
- TextEditorMouse.cs
- OleServicesContext.cs
- GridViewDeletedEventArgs.cs
- PrePrepareMethodAttribute.cs
- COM2IPerPropertyBrowsingHandler.cs
- CheckoutException.cs
- MouseBinding.cs
- DiscoveryClientDocuments.cs
- UnitySerializationHolder.cs
- EntityClientCacheKey.cs
- ActivityExecutionContextCollection.cs
- UnsafeNativeMethodsMilCoreApi.cs
- AssociationEndMember.cs
- TransformerInfoCollection.cs
- HoistedLocals.cs
- LOSFormatter.cs
- entityreference_tresulttype.cs
- CodePageEncoding.cs
- SizeAnimationClockResource.cs
- UInt16Converter.cs
- RawStylusInputCustomData.cs
- SocketPermission.cs
- Roles.cs
- ObservableCollection.cs
- TagMapCollection.cs
- MatrixAnimationUsingKeyFrames.cs
- X509CertificateCollection.cs
- Brush.cs