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 / Odbc / OdbcError.cs / 1 / OdbcError.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- using System; using System.Data; namespace System.Data.Odbc { [Serializable] #if WINFSInternalOnly internal #else public #endif sealed class OdbcError { //Data internal string _message; internal string _state; internal int _nativeerror; internal string _source; internal OdbcError(string source, string message, string state, int nativeerror) { _source = source; _message = message; _state = state; _nativeerror= nativeerror; } public string Message { get { return ((null != _message) ? _message : String.Empty); } } public string SQLState { get { return _state; } } public int NativeError { get { return _nativeerror; } } public string Source { get { return ((null != _source) ? _source : String.Empty); } } internal void SetSource (string Source) { _source = 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. // //[....] //[....] //----------------------------------------------------------------------------- using System; using System.Data; namespace System.Data.Odbc { [Serializable] #if WINFSInternalOnly internal #else public #endif sealed class OdbcError { //Data internal string _message; internal string _state; internal int _nativeerror; internal string _source; internal OdbcError(string source, string message, string state, int nativeerror) { _source = source; _message = message; _state = state; _nativeerror= nativeerror; } public string Message { get { return ((null != _message) ? _message : String.Empty); } } public string SQLState { get { return _state; } } public int NativeError { get { return _nativeerror; } } public string Source { get { return ((null != _source) ? _source : String.Empty); } } internal void SetSource (string Source) { _source = 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
- SafeLocalAllocation.cs
- RemotingConfigParser.cs
- MediaTimeline.cs
- DataSetMappper.cs
- SafeThemeHandle.cs
- NotifyIcon.cs
- DynamicDataRoute.cs
- Point3DCollectionValueSerializer.cs
- counter.cs
- FileUpload.cs
- OciLobLocator.cs
- ImmutableCommunicationTimeouts.cs
- UnmanagedMemoryStream.cs
- TypeReference.cs
- WindowsTokenRoleProvider.cs
- ExceptionUtil.cs
- UIAgentInitializationException.cs
- CodeCommentStatementCollection.cs
- RuntimeConfig.cs
- SafeNativeMethods.cs
- GradientStopCollection.cs
- StringInfo.cs
- AccessText.cs
- ServerIdentity.cs
- MulticastDelegate.cs
- COM2ColorConverter.cs
- COM2TypeInfoProcessor.cs
- TypeConverterHelper.cs
- PerformanceCounter.cs
- SystemResources.cs
- MetadataPropertyvalue.cs
- RadioButtonPopupAdapter.cs
- AnnotationResourceCollection.cs
- ProgressPage.cs
- CollectionViewProxy.cs
- DependencyPropertyChangedEventArgs.cs
- AstNode.cs
- DictionarySectionHandler.cs
- InstanceDataCollection.cs
- CellPartitioner.cs
- DefaultValueAttribute.cs
- HttpListener.cs
- SpinWait.cs
- DurableTimerExtension.cs
- Transactions.cs
- RequestTimeoutManager.cs
- LinkTarget.cs
- ColorContextHelper.cs
- SiteMapPath.cs
- SqlProviderManifest.cs
- LinearGradientBrush.cs
- ColorMap.cs
- XmlRootAttribute.cs
- SudsCommon.cs
- DayRenderEvent.cs
- Point3DCollection.cs
- ReturnEventArgs.cs
- DbgCompiler.cs
- PaperSize.cs
- TrackBar.cs
- PartitionedStream.cs
- WebPartRestoreVerb.cs
- DeferrableContentConverter.cs
- SelectionHighlightInfo.cs
- EventLog.cs
- ByteStream.cs
- ConfigurationStrings.cs
- PropertyTab.cs
- DataGridTableCollection.cs
- DefaultSection.cs
- PassportIdentity.cs
- ProtectedProviderSettings.cs
- PropertyStore.cs
- UnsafeNativeMethods.cs
- TypeUtil.cs
- MappingModelBuildProvider.cs
- MergeFilterQuery.cs
- Transactions.cs
- MD5.cs
- PublishLicense.cs
- StorageConditionPropertyMapping.cs
- SiteMembershipCondition.cs
- WebServiceFaultDesigner.cs
- CompletionBookmark.cs
- MsmqIntegrationElement.cs
- Span.cs
- milrender.cs
- Rotation3D.cs
- HttpProfileBase.cs
- UTF8Encoding.cs
- PerformanceCounterManager.cs
- Model3DGroup.cs
- XmlTextReaderImpl.cs
- Image.cs
- TableRow.cs
- RoleManagerEventArgs.cs
- ProjectionPathBuilder.cs
- activationcontext.cs
- MembershipPasswordException.cs
- TypeExtensions.cs