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
- ZipIOExtraField.cs
- DetailsViewDeletedEventArgs.cs
- CatalogZoneBase.cs
- SchemaCollectionPreprocessor.cs
- DocumentSchemaValidator.cs
- CompositeActivityCodeGenerator.cs
- WebBrowserNavigatedEventHandler.cs
- _NetworkingPerfCounters.cs
- ObjectItemCollection.cs
- ProviderException.cs
- RowUpdatedEventArgs.cs
- WebBrowserContainer.cs
- TabControlAutomationPeer.cs
- TextFormattingConverter.cs
- Monitor.cs
- CustomErrorsSection.cs
- WasNotInstalledException.cs
- SqlProcedureAttribute.cs
- BounceEase.cs
- AstTree.cs
- GlobalEventManager.cs
- SiteMembershipCondition.cs
- xsdvalidator.cs
- _ConnectStream.cs
- GenericEnumConverter.cs
- MessageTraceRecord.cs
- SynchronizedDispatch.cs
- Brushes.cs
- PreviewPrintController.cs
- PrtTicket_Public.cs
- StrongTypingException.cs
- SimpleTextLine.cs
- UncommonField.cs
- RegisteredHiddenField.cs
- AccessedThroughPropertyAttribute.cs
- SerializerDescriptor.cs
- Point3DValueSerializer.cs
- TreeBuilder.cs
- NamespaceExpr.cs
- TreeNodeStyleCollection.cs
- BaseDataBoundControl.cs
- KeyEventArgs.cs
- StringSource.cs
- CalendarButtonAutomationPeer.cs
- WebPartPersonalization.cs
- ProtocolInformationReader.cs
- XmlSchemaValidationException.cs
- ContainerVisual.cs
- XmlAttributeProperties.cs
- Int32Animation.cs
- Tokenizer.cs
- RuleEngine.cs
- DataRowExtensions.cs
- ConversionContext.cs
- Rotation3DKeyFrameCollection.cs
- AspNetSynchronizationContext.cs
- MailAddressCollection.cs
- WsatExtendedInformation.cs
- ImageCodecInfoPrivate.cs
- RoleManagerModule.cs
- HtmlValidatorAdapter.cs
- InvalidEnumArgumentException.cs
- RIPEMD160Managed.cs
- ChannelListenerBase.cs
- SettingsPropertyWrongTypeException.cs
- Interop.cs
- CngAlgorithm.cs
- NonceCache.cs
- RelationshipSet.cs
- BlurBitmapEffect.cs
- StorageAssociationSetMapping.cs
- SingleAnimationUsingKeyFrames.cs
- SmiContext.cs
- PenContext.cs
- ProtocolsConfiguration.cs
- WebPartUserCapability.cs
- ServiceReference.cs
- ItemsControlAutomationPeer.cs
- TableLayoutCellPaintEventArgs.cs
- ToolbarAUtomationPeer.cs
- Int32Storage.cs
- WmlTextViewAdapter.cs
- Expression.DebuggerProxy.cs
- DataGridItemEventArgs.cs
- TemplateNameScope.cs
- GlyphsSerializer.cs
- FileUpload.cs
- InputScopeAttribute.cs
- HttpCacheVary.cs
- KeyValuePairs.cs
- AddInContractAttribute.cs
- Control.cs
- DataRowComparer.cs
- NetDataContractSerializer.cs
- BmpBitmapDecoder.cs
- IPGlobalProperties.cs
- NegatedCellConstant.cs
- EventData.cs
- PropertyGeneratedEventArgs.cs
- _ProxyChain.cs