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
- HttpHandlersSection.cs
- ToolStripItemImageRenderEventArgs.cs
- BrowserDefinitionCollection.cs
- SimpleFieldTemplateFactory.cs
- AnimationStorage.cs
- _PooledStream.cs
- HebrewCalendar.cs
- TypeToStringValueConverter.cs
- DecoderFallback.cs
- AutoCompleteStringCollection.cs
- TextElementEnumerator.cs
- SiteMap.cs
- NetworkCredential.cs
- SoapInteropTypes.cs
- ComplexPropertyEntry.cs
- IFlowDocumentViewer.cs
- Version.cs
- PartialCachingControl.cs
- PseudoWebRequest.cs
- DataShape.cs
- WorkflowInspectionServices.cs
- Matrix3DValueSerializer.cs
- SQLBytesStorage.cs
- EndpointDiscoveryMetadata.cs
- ContentDesigner.cs
- CharacterBuffer.cs
- JapaneseCalendar.cs
- QueryTask.cs
- Canvas.cs
- PersistenceTypeAttribute.cs
- Fault.cs
- PeerTransportListenAddressConverter.cs
- FederatedMessageSecurityOverHttp.cs
- hwndwrapper.cs
- ConfigurationLoaderException.cs
- ListViewItemMouseHoverEvent.cs
- CFStream.cs
- BufferedMessageWriter.cs
- TextEvent.cs
- HebrewCalendar.cs
- EntitySqlQueryCacheEntry.cs
- SchemaTableColumn.cs
- SerialErrors.cs
- UInt16Converter.cs
- FileDataSourceCache.cs
- MulticastDelegate.cs
- IdentitySection.cs
- Double.cs
- ReadOnlyHierarchicalDataSource.cs
- Panel.cs
- wmiprovider.cs
- ItemChangedEventArgs.cs
- Enum.cs
- ParameterModifier.cs
- SchemaElementDecl.cs
- ManagedWndProcTracker.cs
- OdbcConnectionOpen.cs
- CachedFontFace.cs
- FamilyMapCollection.cs
- TypedElement.cs
- basecomparevalidator.cs
- KeysConverter.cs
- XD.cs
- PassportAuthentication.cs
- DataSvcMapFileSerializer.cs
- BezierSegment.cs
- _UriTypeConverter.cs
- Evaluator.cs
- PassportIdentity.cs
- NotCondition.cs
- ScriptingJsonSerializationSection.cs
- KeyNotFoundException.cs
- XmlCharCheckingReader.cs
- CreateRefExpr.cs
- BaseUriWithWildcard.cs
- PackageDocument.cs
- WebPartCollection.cs
- OutputCacheSettingsSection.cs
- MouseDevice.cs
- ReferentialConstraint.cs
- TransformPatternIdentifiers.cs
- TextLineBreak.cs
- _CommandStream.cs
- SynchronizedDispatch.cs
- KeyManager.cs
- StorageMappingItemCollection.cs
- mansign.cs
- SafeNativeMethods.cs
- SHA1Managed.cs
- DeadCharTextComposition.cs
- LinkArea.cs
- HtmlControl.cs
- XmlLanguage.cs
- RadioButton.cs
- StackBuilderSink.cs
- PersonalizablePropertyEntry.cs
- TextTreeUndoUnit.cs
- PropertyTabChangedEvent.cs
- EntityDataSourceValidationException.cs
- TreeView.cs