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
- FlowDocumentReader.cs
- JournalEntryStack.cs
- CollectionMarkupSerializer.cs
- PrivilegeNotHeldException.cs
- OdbcReferenceCollection.cs
- KnownColorTable.cs
- ProfileGroupSettingsCollection.cs
- SmtpLoginAuthenticationModule.cs
- VirtualizingPanel.cs
- DynamicArgumentDialog.cs
- TypeDependencyAttribute.cs
- TextSchema.cs
- ValueUtilsSmi.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- HtmlTitle.cs
- EncodingDataItem.cs
- UniqueCodeIdentifierScope.cs
- ObjectDisposedException.cs
- StringReader.cs
- SqlDataSourceEnumerator.cs
- future.cs
- RowUpdatedEventArgs.cs
- ButtonChrome.cs
- contentDescriptor.cs
- entityreference_tresulttype.cs
- GraphicsContainer.cs
- ValueConversionAttribute.cs
- IListConverters.cs
- QilParameter.cs
- ViewPort3D.cs
- Parameter.cs
- DataGridCaption.cs
- ProcessModuleDesigner.cs
- BindingBase.cs
- ContentIterators.cs
- CustomPopupPlacement.cs
- SafeProcessHandle.cs
- SimpleBitVector32.cs
- Funcletizer.cs
- CodeMemberField.cs
- DictionaryGlobals.cs
- GAC.cs
- EntityDataSourceChangedEventArgs.cs
- ActiveXSite.cs
- EntityDataSourceView.cs
- KeyTimeConverter.cs
- HealthMonitoringSection.cs
- ScrollableControlDesigner.cs
- ConnectionStringsExpressionBuilder.cs
- ServiceObjectContainer.cs
- GeometryGroup.cs
- CanonicalFormWriter.cs
- HMACSHA384.cs
- ErrorLog.cs
- FileLogRecordHeader.cs
- ConnectionManagementSection.cs
- SqlCacheDependency.cs
- StringFunctions.cs
- TargetPerspective.cs
- PersonalizationStateQuery.cs
- RotateTransform.cs
- ContextMenuStrip.cs
- Opcode.cs
- Block.cs
- WebPartMovingEventArgs.cs
- LinqDataSourceHelper.cs
- TrackingStringDictionary.cs
- DPCustomTypeDescriptor.cs
- SectionVisual.cs
- StackSpiller.cs
- DbDataReader.cs
- ImageAttributes.cs
- WindowsFont.cs
- Size3DValueSerializer.cs
- SystemEvents.cs
- UriTemplateHelpers.cs
- EventMappingSettingsCollection.cs
- RegexInterpreter.cs
- SchemaType.cs
- SqlXmlStorage.cs
- TypeDescriptionProviderAttribute.cs
- UITypeEditor.cs
- ValueTable.cs
- ClusterRegistryConfigurationProvider.cs
- LayoutTableCell.cs
- DetailsViewUpdateEventArgs.cs
- TlsnegoTokenAuthenticator.cs
- BuilderInfo.cs
- XmlNodeChangedEventManager.cs
- HttpModuleAction.cs
- TypedOperationInfo.cs
- GlobalizationAssembly.cs
- DateTimeOffsetConverter.cs
- SafeHandle.cs
- Matrix3DStack.cs
- DeclarationUpdate.cs
- ItemAutomationPeer.cs
- EntityTransaction.cs
- WebServiceTypeData.cs
- IndentedTextWriter.cs