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
- ClientSettingsSection.cs
- NameValueFileSectionHandler.cs
- StrongNameMembershipCondition.cs
- Permission.cs
- GestureRecognizer.cs
- Bold.cs
- AttributeAction.cs
- BitmapEditor.cs
- MTConfigUtil.cs
- SmtpDigestAuthenticationModule.cs
- FixedSOMContainer.cs
- SqlClientMetaDataCollectionNames.cs
- ThrowOnMultipleAssignment.cs
- BlurEffect.cs
- ActivityMarkupSerializationProvider.cs
- GeneralTransform.cs
- WindowsListViewScroll.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SessionPageStatePersister.cs
- UpdateException.cs
- recordstatefactory.cs
- MenuBase.cs
- FileInfo.cs
- SpotLight.cs
- securitymgrsite.cs
- X509Certificate2Collection.cs
- RecipientIdentity.cs
- TableLayoutRowStyleCollection.cs
- PrincipalPermission.cs
- CodeIdentifier.cs
- FixedLineResult.cs
- DiscoveryProxy.cs
- Util.cs
- CommentEmitter.cs
- CredentialCache.cs
- SimpleTextLine.cs
- GridViewRow.cs
- MimeMultiPart.cs
- WebDescriptionAttribute.cs
- IPipelineRuntime.cs
- _ConnectStream.cs
- ProxyWebPartConnectionCollection.cs
- FormViewPagerRow.cs
- UnitySerializationHolder.cs
- CurrencyWrapper.cs
- Light.cs
- WorkflowTerminatedException.cs
- FamilyMapCollection.cs
- RadioButtonRenderer.cs
- SecurityException.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- FileSystemWatcher.cs
- DCSafeHandle.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- QilLoop.cs
- ProfileParameter.cs
- TextBreakpoint.cs
- DataGridRowsPresenter.cs
- DependencyPropertyHelper.cs
- SqlDesignerDataSourceView.cs
- BamlResourceContent.cs
- XmlChildEnumerator.cs
- ComPlusTypeLoader.cs
- Int64KeyFrameCollection.cs
- SemanticValue.cs
- FormViewPagerRow.cs
- DataGridViewColumnConverter.cs
- RijndaelManagedTransform.cs
- ParseChildrenAsPropertiesAttribute.cs
- HtmlImage.cs
- StrokeCollection2.cs
- _NativeSSPI.cs
- WizardStepBase.cs
- AsymmetricCryptoHandle.cs
- OleDbError.cs
- FunctionParameter.cs
- SharedPersonalizationStateInfo.cs
- BoundPropertyEntry.cs
- ToolStripDesignerUtils.cs
- KeyValuePairs.cs
- BitmapEffectGroup.cs
- StrokeNode.cs
- WebConfigurationHostFileChange.cs
- FormsAuthenticationModule.cs
- StringToken.cs
- WebSysDefaultValueAttribute.cs
- CommandBinding.cs
- VariableExpressionConverter.cs
- DictionarySectionHandler.cs
- ProcessModuleCollection.cs
- Vector3dCollection.cs
- PropertyConverter.cs
- MimeXmlImporter.cs
- Rectangle.cs
- IntegerValidator.cs
- BulletedListEventArgs.cs
- XsltException.cs
- StorageEntityTypeMapping.cs
- ResourceSet.cs
- DataGridViewSortCompareEventArgs.cs