Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- FieldNameLookup.cs
- UpWmlPageAdapter.cs
- SQLMembershipProvider.cs
- OperationCanceledException.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- DefaultValueConverter.cs
- WCFBuildProvider.cs
- PrintingPermission.cs
- IConvertible.cs
- CapabilitiesState.cs
- TypedTableBase.cs
- SqlXml.cs
- FontStretchConverter.cs
- RegexFCD.cs
- LiteralSubsegment.cs
- RawMouseInputReport.cs
- Quad.cs
- ImageMapEventArgs.cs
- StorageModelBuildProvider.cs
- InternalPolicyElement.cs
- HtmlInputControl.cs
- HostAdapter.cs
- PolicyStatement.cs
- ApplicationBuildProvider.cs
- SyntaxCheck.cs
- SystemException.cs
- ImageListStreamer.cs
- ProtocolsConfigurationHandler.cs
- DataSourceCacheDurationConverter.cs
- ContainsRowNumberChecker.cs
- XslTransform.cs
- MethodExpression.cs
- FontStretches.cs
- WindowsGraphicsCacheManager.cs
- WebPartEditorOkVerb.cs
- InkCanvasSelectionAdorner.cs
- DBSchemaRow.cs
- EntityDataSourceWizardForm.cs
- WebPartConnectionsDisconnectVerb.cs
- ScriptManagerProxy.cs
- SymbolType.cs
- FontSizeConverter.cs
- SQLSingle.cs
- ObfuscationAttribute.cs
- AnnotationStore.cs
- Wildcard.cs
- MethodAccessException.cs
- TaskbarItemInfo.cs
- ConstraintConverter.cs
- XmlDataSource.cs
- OAVariantLib.cs
- ResizeGrip.cs
- Int32CollectionValueSerializer.cs
- CodeVariableDeclarationStatement.cs
- WebPartConnectionCollection.cs
- TogglePattern.cs
- Visual.cs
- IriParsingElement.cs
- XmlComplianceUtil.cs
- Debugger.cs
- DataServiceRequestException.cs
- DoubleAnimationUsingKeyFrames.cs
- DelegateHelpers.cs
- DataGridViewElement.cs
- EmissiveMaterial.cs
- IisTraceWebEventProvider.cs
- ErrorHandler.cs
- StreamInfo.cs
- TimersDescriptionAttribute.cs
- ResXResourceSet.cs
- DBPropSet.cs
- PtsContext.cs
- TemplatedWizardStep.cs
- IFlowDocumentViewer.cs
- EDesignUtil.cs
- OdbcException.cs
- RenderData.cs
- WithStatement.cs
- FixedPage.cs
- SuspendDesigner.cs
- FacetValueContainer.cs
- CodeCatchClauseCollection.cs
- DataListAutoFormat.cs
- RemotingAttributes.cs
- DataGridViewLinkCell.cs
- CatalogPartDesigner.cs
- control.ime.cs
- PrivateFontCollection.cs
- HorizontalAlignConverter.cs
- SourceChangedEventArgs.cs
- UpdatePanelTriggerCollection.cs
- PingOptions.cs
- DataGridTextBoxColumn.cs
- ComponentGuaranteesAttribute.cs
- safelinkcollection.cs
- XmlSchemaSimpleTypeRestriction.cs
- DesignerRegionCollection.cs
- CounterCreationData.cs
- HtmlInputHidden.cs
- HtmlTableCell.cs