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
- FontEmbeddingManager.cs
- ListBindingConverter.cs
- Control.cs
- ProfileSettings.cs
- TypeDescriptor.cs
- ListViewInsertedEventArgs.cs
- TableRowGroupCollection.cs
- CheckPair.cs
- SearchExpression.cs
- PixelFormat.cs
- XmlWellformedWriter.cs
- TypeToken.cs
- ReliableInputConnection.cs
- TitleStyle.cs
- FilterException.cs
- GridLength.cs
- UInt16Converter.cs
- DataObjectPastingEventArgs.cs
- LineGeometry.cs
- QilBinary.cs
- ContextQuery.cs
- ForeignKeyFactory.cs
- Errors.cs
- DropTarget.cs
- HTTPNotFoundHandler.cs
- RoleGroup.cs
- StringUtil.cs
- StylusButtonEventArgs.cs
- SafeEventLogWriteHandle.cs
- Command.cs
- NonPrimarySelectionGlyph.cs
- MailDefinition.cs
- TransactionsSectionGroup.cs
- BulletChrome.cs
- HttpContextServiceHost.cs
- EmptyQuery.cs
- EmulateRecognizeCompletedEventArgs.cs
- TableDetailsRow.cs
- UnmanagedMemoryStream.cs
- LocatorManager.cs
- QueryStack.cs
- UnmanagedMarshal.cs
- DesignerActionUI.cs
- BlockUIContainer.cs
- WorkflowMarkupSerializer.cs
- SafeNativeMethods.cs
- IChannel.cs
- KeyPressEvent.cs
- MailDefinition.cs
- _UriSyntax.cs
- EntryWrittenEventArgs.cs
- DateTimeConverter2.cs
- ExpressionBuilder.cs
- TagMapCollection.cs
- Int64.cs
- XamlTemplateSerializer.cs
- SRef.cs
- QueryCacheManager.cs
- StateDesigner.LayoutSelectionGlyph.cs
- HandledEventArgs.cs
- VideoDrawing.cs
- GeometryModel3D.cs
- CellParaClient.cs
- MemberPath.cs
- SplitterPanel.cs
- SystemNetworkInterface.cs
- DbModificationCommandTree.cs
- CustomAssemblyResolver.cs
- BufferModeSettings.cs
- OdbcDataAdapter.cs
- figurelength.cs
- EventLogWatcher.cs
- DatagridviewDisplayedBandsData.cs
- UniqueIdentifierService.cs
- PingReply.cs
- BamlRecords.cs
- SpecialFolderEnumConverter.cs
- TableStyle.cs
- Rfc2898DeriveBytes.cs
- AuthorizationRuleCollection.cs
- XmlRawWriter.cs
- MergeFilterQuery.cs
- MultipartIdentifier.cs
- AssociationSetEnd.cs
- Attachment.cs
- ThousandthOfEmRealDoubles.cs
- EntityChangedParams.cs
- SoapAttributeAttribute.cs
- PageHandlerFactory.cs
- ItemCheckEvent.cs
- DataBoundLiteralControl.cs
- PersonalizationDictionary.cs
- DockProviderWrapper.cs
- XhtmlBasicLinkAdapter.cs
- AlternationConverter.cs
- TextSpan.cs
- ImageSource.cs
- HorizontalAlignConverter.cs
- MouseCaptureWithinProperty.cs
- remotingproxy.cs