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
- OracleRowUpdatingEventArgs.cs
- InputLanguage.cs
- EventProviderWriter.cs
- LogicalExpr.cs
- MetadataItemEmitter.cs
- ToolBar.cs
- ServiceElementCollection.cs
- TraceSource.cs
- AmbientLight.cs
- PropertyInfoSet.cs
- TraceLog.cs
- StringValidatorAttribute.cs
- LassoSelectionBehavior.cs
- RuleProcessor.cs
- SafeFileMappingHandle.cs
- XmlSchema.cs
- SimpleModelProvider.cs
- EventHandlers.cs
- FlowLayoutPanelDesigner.cs
- FilePrompt.cs
- SkinBuilder.cs
- CryptoApi.cs
- XmlBinaryReader.cs
- SettingsAttributes.cs
- HostingEnvironmentException.cs
- __Error.cs
- QilScopedVisitor.cs
- Byte.cs
- CompModSwitches.cs
- Rights.cs
- TypeDependencyAttribute.cs
- WindowsListBox.cs
- ProcessingInstructionAction.cs
- DataExpression.cs
- MaterialGroup.cs
- ImageEditor.cs
- ZipPackage.cs
- CopyNamespacesAction.cs
- EdmMember.cs
- SizeAnimationBase.cs
- XmlArrayAttribute.cs
- PermissionRequestEvidence.cs
- SafeSecurityHandles.cs
- VerticalAlignConverter.cs
- DependencyPropertyAttribute.cs
- ComplusEndpointConfigContainer.cs
- FloaterBaseParaClient.cs
- IResourceProvider.cs
- ErasingStroke.cs
- Wildcard.cs
- LinqDataSourceContextEventArgs.cs
- objectresult_tresulttype.cs
- FacetDescription.cs
- FileDialog_Vista_Interop.cs
- WebBrowserUriTypeConverter.cs
- Literal.cs
- GeometryHitTestParameters.cs
- _FtpControlStream.cs
- Label.cs
- ProxyGenerator.cs
- RepeatBehavior.cs
- AsyncStreamReader.cs
- RegexCode.cs
- GifBitmapEncoder.cs
- AgileSafeNativeMemoryHandle.cs
- ResourceAssociationType.cs
- ProxyAttribute.cs
- BackgroundWorker.cs
- Errors.cs
- MultiPartWriter.cs
- LinkedDataMemberFieldEditor.cs
- DataKey.cs
- RelationHandler.cs
- XmlSerializerAssemblyAttribute.cs
- XmlSchemaSimpleContentExtension.cs
- Registry.cs
- _ShellExpression.cs
- MemoryFailPoint.cs
- SingleAnimationBase.cs
- CodeThrowExceptionStatement.cs
- AnalyzedTree.cs
- Pens.cs
- SmiConnection.cs
- DbModificationClause.cs
- BamlLocalizableResource.cs
- EventProviderBase.cs
- TripleDES.cs
- UIElementAutomationPeer.cs
- Matrix3D.cs
- HttpListenerResponse.cs
- ReferenceSchema.cs
- EdgeProfileValidation.cs
- LinqDataSourceView.cs
- ManagementBaseObject.cs
- DiscoveryServerProtocol.cs
- FontEmbeddingManager.cs
- PageSettings.cs
- TextEditorMouse.cs
- SecurityStandardsManager.cs
- XmlSequenceWriter.cs