Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlText.cs
- WebPartChrome.cs
- TabItemAutomationPeer.cs
- ProxyElement.cs
- DataContractAttribute.cs
- Expressions.cs
- RequestCachingSection.cs
- CultureTable.cs
- EnterpriseServicesHelper.cs
- BitmapSizeOptions.cs
- CodeSubDirectoriesCollection.cs
- ClassData.cs
- TransformCollection.cs
- EditorZoneBase.cs
- MappingException.cs
- SqlInternalConnectionTds.cs
- TimersDescriptionAttribute.cs
- PtsCache.cs
- CompiledXpathExpr.cs
- FormattedText.cs
- StorageRoot.cs
- TagPrefixCollection.cs
- TableItemPatternIdentifiers.cs
- ObjectHandle.cs
- Soap12ProtocolImporter.cs
- GetUserPreferenceRequest.cs
- FreezableCollection.cs
- ContractDescription.cs
- FileDialogCustomPlacesCollection.cs
- FileSecurity.cs
- DrawingAttributeSerializer.cs
- FileDialog_Vista.cs
- VirtualPathUtility.cs
- RemoteWebConfigurationHost.cs
- DataObject.cs
- ManagementScope.cs
- SqlClientWrapperSmiStream.cs
- PathSegmentCollection.cs
- StringFreezingAttribute.cs
- TypeTypeConverter.cs
- MessageDesigner.cs
- XmlMemberMapping.cs
- LineProperties.cs
- ContextStaticAttribute.cs
- Win32SafeHandles.cs
- PrePrepareMethodAttribute.cs
- entityreference_tresulttype.cs
- XmlAtomicValue.cs
- PackagingUtilities.cs
- _BasicClient.cs
- WorkflowWebService.cs
- CriticalFinalizerObject.cs
- VideoDrawing.cs
- SchemaLookupTable.cs
- DynamicDocumentPaginator.cs
- ADMembershipUser.cs
- PkcsMisc.cs
- Wizard.cs
- TextServicesDisplayAttributePropertyRanges.cs
- GenericXmlSecurityToken.cs
- SafeWaitHandle.cs
- CollectionsUtil.cs
- WebFormsRootDesigner.cs
- Point3DCollectionConverter.cs
- TrustLevel.cs
- FamilyMap.cs
- processwaithandle.cs
- FontDriver.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- _AutoWebProxyScriptWrapper.cs
- XmlJsonWriter.cs
- XPathSelfQuery.cs
- XmlElementAttribute.cs
- TripleDES.cs
- dsa.cs
- DocumentGridPage.cs
- CodeLabeledStatement.cs
- WebPartZoneBase.cs
- MemberPath.cs
- Point4DValueSerializer.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- Size3DValueSerializer.cs
- TableItemProviderWrapper.cs
- GenericEnumerator.cs
- BufferBuilder.cs
- XmlBoundElement.cs
- MdiWindowListStrip.cs
- RoleGroupCollection.cs
- BitmapImage.cs
- SqlProfileProvider.cs
- URL.cs
- SqlDeflator.cs
- SqlDataSourceQueryConverter.cs
- SerializationFieldInfo.cs
- SqlFacetAttribute.cs
- SystemResourceKey.cs
- TextRangeEdit.cs
- DocumentXPathNavigator.cs
- MsmqDiagnostics.cs
- StringAttributeCollection.cs