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
- DbProviderSpecificTypePropertyAttribute.cs
- HostProtectionException.cs
- FrameworkContentElementAutomationPeer.cs
- AutomationIdentifier.cs
- RelationshipEndMember.cs
- AbstractExpressions.cs
- Pen.cs
- ClientConfigPaths.cs
- LogicalExpr.cs
- CacheChildrenQuery.cs
- X509IssuerSerialKeyIdentifierClause.cs
- InteropEnvironment.cs
- SemaphoreSecurity.cs
- ImageDrawing.cs
- ConstraintManager.cs
- PhonemeConverter.cs
- DesignTimeParseData.cs
- RIPEMD160.cs
- AssertUtility.cs
- Literal.cs
- ComponentDispatcherThread.cs
- WebPartPersonalization.cs
- Baml2006KnownTypes.cs
- IFlowDocumentViewer.cs
- SqlDataSourceView.cs
- NamedPipeProcessProtocolHandler.cs
- ComponentTray.cs
- FamilyMap.cs
- ContentControl.cs
- DataContractSerializerSection.cs
- TreePrinter.cs
- HttpAsyncResult.cs
- MemberPathMap.cs
- DictionarySectionHandler.cs
- DynamicResourceExtensionConverter.cs
- RootBuilder.cs
- RectangleConverter.cs
- TextServicesPropertyRanges.cs
- OrderingQueryOperator.cs
- MsmqAuthenticationMode.cs
- GridItemPatternIdentifiers.cs
- GregorianCalendarHelper.cs
- DataObjectPastingEventArgs.cs
- ToolStripRenderer.cs
- IconBitmapDecoder.cs
- RotationValidation.cs
- objectquery_tresulttype.cs
- LongValidator.cs
- ClaimSet.cs
- TreeNodeBindingCollection.cs
- DbDataSourceEnumerator.cs
- ToolBarTray.cs
- EnvironmentPermission.cs
- _NegotiateClient.cs
- SyndicationItem.cs
- COMException.cs
- AdornerLayer.cs
- AmbientProperties.cs
- ListComponentEditorPage.cs
- ValidationError.cs
- FileEnumerator.cs
- UserNameSecurityTokenAuthenticator.cs
- InheritanceRules.cs
- GlobalizationAssembly.cs
- SQLGuidStorage.cs
- ListBoxItem.cs
- ImageListImage.cs
- SQLConvert.cs
- NumberFormatter.cs
- StoreContentChangedEventArgs.cs
- XmlReflectionMember.cs
- MethodSignatureGenerator.cs
- GacUtil.cs
- SecureConversationServiceElement.cs
- DropDownList.cs
- CustomValidator.cs
- RetrieveVirtualItemEventArgs.cs
- WmfPlaceableFileHeader.cs
- InvalidStoreProtectionKeyException.cs
- OleDbCommandBuilder.cs
- UnknownBitmapDecoder.cs
- QuerySettings.cs
- RectAnimationUsingKeyFrames.cs
- SchemaInfo.cs
- SqlParameter.cs
- ListViewGroupItemCollection.cs
- FastPropertyAccessor.cs
- TreeNode.cs
- CompiledRegexRunnerFactory.cs
- DrawingGroup.cs
- BindingRestrictions.cs
- ZipArchive.cs
- AuthenticationSection.cs
- WsatAdminException.cs
- LassoSelectionBehavior.cs
- TriggerAction.cs
- OdbcEnvironmentHandle.cs
- LinqDataSourceUpdateEventArgs.cs
- EdmPropertyAttribute.cs
- InputMethod.cs