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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TreeViewImageKeyConverter.cs
- SqlDependency.cs
- TabletDeviceInfo.cs
- TokenBasedSetEnumerator.cs
- DataTableClearEvent.cs
- LabelDesigner.cs
- WebPartCatalogCloseVerb.cs
- MSAANativeProvider.cs
- RuntimeUtils.cs
- WindowsAuthenticationEventArgs.cs
- ServiceModelActivity.cs
- ToolboxItem.cs
- PageFunction.cs
- XmlTypeMapping.cs
- DataServiceQueryProvider.cs
- HandleExceptionArgs.cs
- MultipartContentParser.cs
- DATA_BLOB.cs
- XmlSchemaDocumentation.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ListViewGroupConverter.cs
- Stacktrace.cs
- HtmlAnchor.cs
- BaseParaClient.cs
- srgsitem.cs
- CriticalHandle.cs
- ExpanderAutomationPeer.cs
- PhonemeConverter.cs
- SuppressMessageAttribute.cs
- MetafileHeader.cs
- Form.cs
- MetaDataInfo.cs
- SwitchAttribute.cs
- ExpressionBuilder.cs
- ScaleTransform.cs
- KeyedCollection.cs
- TextOutput.cs
- TemplateAction.cs
- TypeConverterAttribute.cs
- SignedXml.cs
- RootNamespaceAttribute.cs
- ByteStreamGeometryContext.cs
- AbstractSvcMapFileLoader.cs
- QueryRewriter.cs
- DataGridViewTextBoxColumn.cs
- DragEventArgs.cs
- MimeParameters.cs
- DefaultConfirmation.cs
- ContourSegment.cs
- StatusStrip.cs
- EntitySqlQueryBuilder.cs
- DbExpressionVisitor.cs
- FilterQuery.cs
- CssClassPropertyAttribute.cs
- DesignTimeParseData.cs
- HtmlShim.cs
- RegexRunner.cs
- ColorAnimationBase.cs
- __ConsoleStream.cs
- SequenceRangeCollection.cs
- DependencyPropertyHelper.cs
- SqlCommandSet.cs
- TokenBasedSet.cs
- TextServicesCompartmentContext.cs
- Rotation3DKeyFrameCollection.cs
- CompoundFileReference.cs
- DetailsViewPagerRow.cs
- Encoder.cs
- Item.cs
- ComplexBindingPropertiesAttribute.cs
- StorageEntityTypeMapping.cs
- TypeDependencyAttribute.cs
- DbFunctionCommandTree.cs
- ToolStripSeparatorRenderEventArgs.cs
- AsnEncodedData.cs
- SoapIncludeAttribute.cs
- UrlAuthorizationModule.cs
- UxThemeWrapper.cs
- TextLine.cs
- MessageSmuggler.cs
- ZipIOModeEnforcingStream.cs
- WebPartManagerInternals.cs
- DbProviderFactories.cs
- PhoneCallDesigner.cs
- ConfigurationSection.cs
- HwndSource.cs
- NotificationContext.cs
- ColorBuilder.cs
- CatalogPartChrome.cs
- TargetControlTypeCache.cs
- ProxyGenerator.cs
- validationstate.cs
- WebBrowserDesigner.cs
- MissingMethodException.cs
- SortQueryOperator.cs
- Baml6Assembly.cs
- ImageMap.cs
- MonthCalendarDesigner.cs
- DataServiceRequestOfT.cs
- NameService.cs