Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartAuthorizationEventArgs.cs
- FolderLevelBuildProviderCollection.cs
- CTreeGenerator.cs
- Msec.cs
- TextBoxDesigner.cs
- ImpersonateTokenRef.cs
- SessionEndingCancelEventArgs.cs
- CodeObjectCreateExpression.cs
- DriveInfo.cs
- DataSetViewSchema.cs
- ScrollBar.cs
- Transactions.cs
- TypeSystem.cs
- EncryptedReference.cs
- SqlSupersetValidator.cs
- SmiEventSink.cs
- TemplateField.cs
- BackgroundFormatInfo.cs
- DynamicDataManager.cs
- SafeWaitHandle.cs
- SqlConnectionHelper.cs
- TreeBuilderBamlTranslator.cs
- DecimalMinMaxAggregationOperator.cs
- EntityViewContainer.cs
- IQueryable.cs
- PeerToPeerException.cs
- CodeSnippetTypeMember.cs
- TemplateLookupAction.cs
- TabControl.cs
- QueryCacheKey.cs
- WindowsScroll.cs
- RegionIterator.cs
- versioninfo.cs
- QuaternionKeyFrameCollection.cs
- D3DImage.cs
- OdbcConnection.cs
- FileDialogPermission.cs
- DisplayNameAttribute.cs
- ButtonFieldBase.cs
- XmlAtomicValue.cs
- XmlSchemaElement.cs
- MatrixKeyFrameCollection.cs
- _SpnDictionary.cs
- WindowsButton.cs
- CannotUnloadAppDomainException.cs
- NameObjectCollectionBase.cs
- XmlQueryType.cs
- QueryStringConverter.cs
- ByteAnimationUsingKeyFrames.cs
- SQLMembershipProvider.cs
- EmptyEnumerator.cs
- _Connection.cs
- OleDbCommand.cs
- Typeface.cs
- NotSupportedException.cs
- JumpItem.cs
- OrderedEnumerableRowCollection.cs
- TCPListener.cs
- HttpCookiesSection.cs
- ResourcePermissionBaseEntry.cs
- RootBrowserWindow.cs
- IDispatchConstantAttribute.cs
- CompressedStack.cs
- DataGridViewToolTip.cs
- UpnEndpointIdentityExtension.cs
- CompatibleComparer.cs
- RowCache.cs
- WindowsTreeView.cs
- DiagnosticsConfigurationHandler.cs
- HtmlInputCheckBox.cs
- ChangeDirector.cs
- WorkflowRuntimeSection.cs
- CountAggregationOperator.cs
- GradientStop.cs
- StaticResourceExtension.cs
- ElementsClipboardData.cs
- PerformanceCountersElement.cs
- GridEntry.cs
- HyperLink.cs
- ArrayList.cs
- DoubleCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- PageCatalogPartDesigner.cs
- ObjectSecurity.cs
- WebControl.cs
- IImplicitResourceProvider.cs
- FunctionImportElement.cs
- RulePatternOps.cs
- CustomErrorCollection.cs
- Misc.cs
- ListViewTableCell.cs
- BitSet.cs
- HttpCachePolicyElement.cs
- RSAPKCS1SignatureDeformatter.cs
- DiscardableAttribute.cs
- AlphaSortedEnumConverter.cs
- OracleRowUpdatingEventArgs.cs
- PixelShader.cs
- IpcChannelHelper.cs
- SoapTransportImporter.cs