Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DynamicRendererThreadManager.cs
- SQLResource.cs
- Style.cs
- FigureParagraph.cs
- DummyDataSource.cs
- BindingValueChangedEventArgs.cs
- EastAsianLunisolarCalendar.cs
- SoapExtensionTypeElementCollection.cs
- InputDevice.cs
- CssStyleCollection.cs
- Renderer.cs
- BasePropertyDescriptor.cs
- EntityTypeEmitter.cs
- DeferrableContentConverter.cs
- CodeExporter.cs
- XPathDocumentIterator.cs
- ContextMarshalException.cs
- PartialArray.cs
- EventHandlerService.cs
- XPathCompileException.cs
- FormViewRow.cs
- RangeExpression.cs
- ViewStateException.cs
- RegexInterpreter.cs
- DataMember.cs
- FormsAuthentication.cs
- TabControl.cs
- TemplatedMailWebEventProvider.cs
- DataGridViewElement.cs
- WebPartDescriptionCollection.cs
- RightNameExpirationInfoPair.cs
- _ProxyRegBlob.cs
- PcmConverter.cs
- WebPartEditorCancelVerb.cs
- DataGridViewLayoutData.cs
- xmlformatgeneratorstatics.cs
- CubicEase.cs
- XamlPoint3DCollectionSerializer.cs
- GridView.cs
- CompressionTransform.cs
- SqlProviderUtilities.cs
- GlyphRun.cs
- HttpStreams.cs
- DataGridViewRowPostPaintEventArgs.cs
- CheckoutException.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DataServiceQueryException.cs
- MergeLocalizationDirectives.cs
- PersonalizationProviderCollection.cs
- X509Utils.cs
- SQLBinaryStorage.cs
- RowsCopiedEventArgs.cs
- HMAC.cs
- HandlerMappingMemo.cs
- ImpersonationContext.cs
- ParsedRoute.cs
- InvokeProviderWrapper.cs
- FontUnit.cs
- ConfigPathUtility.cs
- AnalyzedTree.cs
- SymmetricAlgorithm.cs
- ZipIOFileItemStream.cs
- ViewStateException.cs
- GridToolTip.cs
- AnnotationResource.cs
- XmlUTF8TextReader.cs
- TableLayoutColumnStyleCollection.cs
- MethodBuilder.cs
- BinaryKeyIdentifierClause.cs
- FunctionUpdateCommand.cs
- DataGridViewLinkCell.cs
- DocumentViewerHelper.cs
- MatrixKeyFrameCollection.cs
- ScriptResourceAttribute.cs
- SynchronizedPool.cs
- TransformCollection.cs
- InternalConfigEventArgs.cs
- LabelLiteral.cs
- Pair.cs
- EventProviderTraceListener.cs
- Types.cs
- PatternMatcher.cs
- _ConnectionGroup.cs
- WebConfigurationFileMap.cs
- AnnotationResourceChangedEventArgs.cs
- ObsoleteAttribute.cs
- AnnotationService.cs
- GPPOINT.cs
- RelationshipManager.cs
- DataServiceHost.cs
- CodeSnippetTypeMember.cs
- AutoGeneratedField.cs
- Stack.cs
- PageVisual.cs
- ConfigXmlAttribute.cs
- SafeFindHandle.cs
- ParagraphResult.cs
- GlyphShapingProperties.cs
- AsyncResult.cs
- SuppressMergeCheckAttribute.cs