Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / OleDb / OleDbInfoMessageEvent.cs / 1305376 / OleDbInfoMessageEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.Diagnostics; public 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; public 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
- TransformConverter.cs
- ThicknessConverter.cs
- MultiViewDesigner.cs
- CompositeActivityTypeDescriptorProvider.cs
- LogFlushAsyncResult.cs
- MessageBox.cs
- TableDetailsRow.cs
- PlatformNotSupportedException.cs
- FamilyTypefaceCollection.cs
- Int32AnimationUsingKeyFrames.cs
- ShimAsPublicXamlType.cs
- ExecutionPropertyManager.cs
- securestring.cs
- GACMembershipCondition.cs
- GridViewDeletedEventArgs.cs
- DrawingContextDrawingContextWalker.cs
- ScriptReferenceEventArgs.cs
- ToolStripRenderer.cs
- ScriptingWebServicesSectionGroup.cs
- PathSegmentCollection.cs
- Matrix.cs
- SelectionItemPattern.cs
- HasCopySemanticsAttribute.cs
- XslAst.cs
- HttpListenerPrefixCollection.cs
- DeclarativeExpressionConditionDeclaration.cs
- DataGridViewTextBoxCell.cs
- SecurityTokenReferenceStyle.cs
- StringDictionaryCodeDomSerializer.cs
- OracleParameterCollection.cs
- CodeIdentifier.cs
- PrimaryKeyTypeConverter.cs
- XmlnsCompatibleWithAttribute.cs
- CellConstantDomain.cs
- RequestCachePolicyConverter.cs
- XmlAttributes.cs
- EntityContainerAssociationSet.cs
- XmlSchemaSequence.cs
- BaseCAMarshaler.cs
- XamlVector3DCollectionSerializer.cs
- TextDecorationCollection.cs
- DocumentPropertiesDialog.cs
- ScriptManager.cs
- UnsignedPublishLicense.cs
- TaskResultSetter.cs
- DetailsViewDeleteEventArgs.cs
- StyleHelper.cs
- SchemaMapping.cs
- AssemblyUtil.cs
- DescendantOverDescendantQuery.cs
- HttpRequest.cs
- SiteIdentityPermission.cs
- TransformedBitmap.cs
- XpsDigitalSignature.cs
- DockAndAnchorLayout.cs
- XmlSchemaSequence.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ReadOnlyDictionary.cs
- FileUpload.cs
- ImageListUtils.cs
- DataPagerFieldCollection.cs
- FlowDocumentPaginator.cs
- ToolStripPanelSelectionBehavior.cs
- QueryPageSettingsEventArgs.cs
- PointAnimation.cs
- SafePipeHandle.cs
- XmlTextWriter.cs
- AndCondition.cs
- SqlError.cs
- PatternMatchRules.cs
- EventLogEntryCollection.cs
- TypedTableBaseExtensions.cs
- xdrvalidator.cs
- PublisherMembershipCondition.cs
- WebServiceTypeData.cs
- LogSwitch.cs
- SqlGatherConsumedAliases.cs
- DispatcherHookEventArgs.cs
- ComponentResourceManager.cs
- BindingMemberInfo.cs
- PasswordDeriveBytes.cs
- CacheVirtualItemsEvent.cs
- XNodeNavigator.cs
- EndPoint.cs
- ThemeDirectoryCompiler.cs
- DropDownList.cs
- Cursor.cs
- PrinterResolution.cs
- DataBindingsDialog.cs
- WebPartMinimizeVerb.cs
- RequestCache.cs
- StateMachineSubscription.cs
- EntityDataSourceView.cs
- InternalRelationshipCollection.cs
- CutCopyPasteHelper.cs
- CacheSection.cs
- DataAdapter.cs
- Bitmap.cs
- DataGridViewComboBoxCell.cs
- VisualStyleElement.cs