Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / Odbc / OdbcError.cs / 1305376 / OdbcError.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- using System; using System.Data; namespace System.Data.Odbc { [Serializable] public 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
- OleDbErrorCollection.cs
- WebBrowserContainer.cs
- MailMessageEventArgs.cs
- XmlSchemaInclude.cs
- CodeVariableReferenceExpression.cs
- SmtpNetworkElement.cs
- KeyTime.cs
- CodeGroup.cs
- TypeDescriptionProvider.cs
- XmlEntityReference.cs
- HttpModuleAction.cs
- ServiceOperationParameter.cs
- DataTable.cs
- PageCache.cs
- ISFClipboardData.cs
- DataControlImageButton.cs
- IIS7WorkerRequest.cs
- EndpointDiscoveryMetadata.cs
- BinaryParser.cs
- CultureSpecificCharacterBufferRange.cs
- NameGenerator.cs
- StrokeNodeOperations.cs
- ViewCellRelation.cs
- StreamWriter.cs
- InstanceHandleReference.cs
- BaseDataListDesigner.cs
- EDesignUtil.cs
- PlainXmlWriter.cs
- LineSegment.cs
- WrappedIUnknown.cs
- SslStream.cs
- TransformerTypeCollection.cs
- UnaryNode.cs
- PointAnimationUsingPath.cs
- XmlUtil.cs
- ActivityDesignerLayoutSerializers.cs
- BindingEntityInfo.cs
- WorkflowViewElement.cs
- PanelDesigner.cs
- StyleXamlParser.cs
- SmtpClient.cs
- ParameterSubsegment.cs
- XmlSchemaProviderAttribute.cs
- ProxyGenerationError.cs
- OleDbError.cs
- QueueSurrogate.cs
- DelegatingConfigHost.cs
- ConnectivityStatus.cs
- WindowsListViewSubItem.cs
- ColumnReorderedEventArgs.cs
- ToolStripSplitStackLayout.cs
- DropShadowBitmapEffect.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- TextInfo.cs
- Model3DCollection.cs
- WebPartDesigner.cs
- HWStack.cs
- ProfileSettingsCollection.cs
- HMACSHA256.cs
- NavigationCommands.cs
- EventDescriptorCollection.cs
- ToolStripDropDownButton.cs
- DataGridItem.cs
- DecoratedNameAttribute.cs
- NativeMethods.cs
- HttpApplication.cs
- DataKeyArray.cs
- _AutoWebProxyScriptHelper.cs
- AuthenticationModuleElement.cs
- XmlSerializerVersionAttribute.cs
- ICollection.cs
- invalidudtexception.cs
- Semaphore.cs
- OutOfMemoryException.cs
- DynamicDataManager.cs
- ProfilePropertyMetadata.cs
- GeometryHitTestResult.cs
- ProtectedConfigurationSection.cs
- ComponentDispatcher.cs
- ProfilePropertyNameValidator.cs
- ServiceErrorHandler.cs
- BindToObject.cs
- WebBrowserEvent.cs
- SelectionGlyphBase.cs
- PopupEventArgs.cs
- ContextProperty.cs
- DetailsViewPageEventArgs.cs
- WindowsAuthenticationModule.cs
- CultureTableRecord.cs
- ChoiceConverter.cs
- FrameworkElement.cs
- WindowsPen.cs
- ObjectSet.cs
- CodeObject.cs
- XmlLinkedNode.cs
- RightsManagementEncryptedStream.cs
- MailDefinition.cs
- GlobalProxySelection.cs
- ProviderBase.cs
- IgnoreSectionHandler.cs