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
- PageDeviceFont.cs
- XamlReaderHelper.cs
- Rule.cs
- ObjectDataProvider.cs
- DescendantQuery.cs
- _CookieModule.cs
- Size.cs
- BigInt.cs
- EntityDataSourceContextCreatedEventArgs.cs
- PackageRelationship.cs
- SimpleHandlerFactory.cs
- CodeAccessPermission.cs
- SoapTransportImporter.cs
- DocumentNUp.cs
- ApplicationSecurityManager.cs
- ToolStripSplitStackLayout.cs
- FramingChannels.cs
- MailMessageEventArgs.cs
- DateTimeFormat.cs
- AnnotationAuthorChangedEventArgs.cs
- XmlSchemaGroup.cs
- WebBrowserEvent.cs
- EntityDataSourceViewSchema.cs
- ForceCopyBuildProvider.cs
- ParenthesizePropertyNameAttribute.cs
- AuthenticationConfig.cs
- PageAdapter.cs
- XmlConvert.cs
- EditorBrowsableAttribute.cs
- ConditionalWeakTable.cs
- SendKeys.cs
- CommandField.cs
- DataGridViewCellConverter.cs
- httpserverutility.cs
- Command.cs
- ObjectItemCollection.cs
- XmlCountingReader.cs
- BindingListCollectionView.cs
- NegationPusher.cs
- ArraySortHelper.cs
- InputMethodStateChangeEventArgs.cs
- VisualBrush.cs
- FrameworkTemplate.cs
- Registry.cs
- EdmSchemaAttribute.cs
- DataBoundControl.cs
- ControlDesigner.cs
- MoveSizeWinEventHandler.cs
- WindowsGraphicsWrapper.cs
- ActiveXSite.cs
- Path.cs
- invalidudtexception.cs
- TextRangeBase.cs
- ComplusEndpointConfigContainer.cs
- HandlerWithFactory.cs
- FillErrorEventArgs.cs
- CellQuery.cs
- CodeTypeDeclarationCollection.cs
- NameValueSectionHandler.cs
- CompressedStack.cs
- AmbientLight.cs
- InputManager.cs
- DoubleAnimationClockResource.cs
- HttpDebugHandler.cs
- HeaderedContentControl.cs
- SecurityHelper.cs
- ErrorRuntimeConfig.cs
- SelectionPatternIdentifiers.cs
- HttpCacheParams.cs
- SoapMessage.cs
- ConfigXmlWhitespace.cs
- listitem.cs
- AnnotationComponentManager.cs
- MeasurementDCInfo.cs
- ExtendedProperty.cs
- RemotingService.cs
- IisTraceWebEventProvider.cs
- FontFamily.cs
- AutomationElementCollection.cs
- ProcessHost.cs
- LinqDataSourceView.cs
- TdsParserSafeHandles.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- TraceSection.cs
- IsolatedStoragePermission.cs
- SpoolingTask.cs
- _ProxyRegBlob.cs
- PostBackTrigger.cs
- GridErrorDlg.cs
- UserThread.cs
- DesignerContextDescriptor.cs
- WindowsFormsEditorServiceHelper.cs
- x509utils.cs
- OperatorExpressions.cs
- FieldBuilder.cs
- WaitHandleCannotBeOpenedException.cs
- ListMarkerLine.cs
- HashAlgorithm.cs
- QueueProcessor.cs
- FrugalList.cs