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 / OleDb / OleDbInfoMessageEvent.cs / 1 / OleDbInfoMessageEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.Diagnostics; #if WINFSInternalOnly internal #else public #endif sealed class OleDbInfoMessageEventArgs : System.EventArgs { readonly private OleDbException exception; internal OleDbInfoMessageEventArgs(OleDbException exception) { Debug.Assert(null != exception, "OleDbInfoMessageEventArgs without OleDbException"); this.exception = exception; } public int ErrorCode { get { return this.exception.ErrorCode; } } public OleDbErrorCollection Errors { get { return this.exception.Errors; } } internal bool ShouldSerializeErrors() { // MDAC 65548 return this.exception.ShouldSerializeErrors(); } public string Message { get { return this.exception.Message; } } public string Source { get { return this.exception.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. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.Diagnostics; #if WINFSInternalOnly internal #else public #endif sealed class OleDbInfoMessageEventArgs : System.EventArgs { readonly private OleDbException exception; internal OleDbInfoMessageEventArgs(OleDbException exception) { Debug.Assert(null != exception, "OleDbInfoMessageEventArgs without OleDbException"); this.exception = exception; } public int ErrorCode { get { return this.exception.ErrorCode; } } public OleDbErrorCollection Errors { get { return this.exception.Errors; } } internal bool ShouldSerializeErrors() { // MDAC 65548 return this.exception.ShouldSerializeErrors(); } public string Message { get { return this.exception.Message; } } public string Source { get { return this.exception.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
- OdbcReferenceCollection.cs
- Adorner.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- AspNetRouteServiceHttpHandler.cs
- ReturnType.cs
- MetadataCacheItem.cs
- ObjRef.cs
- DiscardableAttribute.cs
- RegisteredDisposeScript.cs
- NopReturnReader.cs
- DoubleUtil.cs
- IERequestCache.cs
- WsiProfilesElementCollection.cs
- StackSpiller.Bindings.cs
- EventLogReader.cs
- FirstQueryOperator.cs
- TransactionScope.cs
- DataGridViewTopLeftHeaderCell.cs
- InternalControlCollection.cs
- ResourceManager.cs
- ContainerAction.cs
- GPRECT.cs
- ScaleTransform.cs
- TreeView.cs
- JavaScriptSerializer.cs
- HtmlTextArea.cs
- InputBinding.cs
- InlineUIContainer.cs
- RuntimeHandles.cs
- StringReader.cs
- ToolTip.cs
- BinaryEditor.cs
- FilteredXmlReader.cs
- DifferencingCollection.cs
- DispatcherFrame.cs
- ListBoxItemWrapperAutomationPeer.cs
- OleStrCAMarshaler.cs
- OleAutBinder.cs
- DisableDpiAwarenessAttribute.cs
- SymLanguageType.cs
- ScriptResourceDefinition.cs
- EntityTemplateUserControl.cs
- SafeCryptoHandles.cs
- DropDownList.cs
- httpserverutility.cs
- TimelineGroup.cs
- ObjectPersistData.cs
- FilterableAttribute.cs
- TextServicesDisplayAttributePropertyRanges.cs
- EnumerableCollectionView.cs
- MultipartIdentifier.cs
- PrivateFontCollection.cs
- EndpointAddressProcessor.cs
- SqlCacheDependencyDatabaseCollection.cs
- SqlFileStream.cs
- XsdDataContractImporter.cs
- Column.cs
- EventLogger.cs
- SimpleRecyclingCache.cs
- FileDialogCustomPlace.cs
- MenuBindingsEditor.cs
- Geometry.cs
- SiteMapNode.cs
- SecurityPolicySection.cs
- Compiler.cs
- PerformanceCounterPermissionEntry.cs
- GridItemPattern.cs
- HtmlTableRowCollection.cs
- ComNativeDescriptor.cs
- PieceDirectory.cs
- UserValidatedEventArgs.cs
- Int64KeyFrameCollection.cs
- XamlVector3DCollectionSerializer.cs
- GridItemCollection.cs
- ValueSerializerAttribute.cs
- ThaiBuddhistCalendar.cs
- Translator.cs
- DrawingContextWalker.cs
- MatrixTransform3D.cs
- TcpClientCredentialType.cs
- FormsAuthenticationTicket.cs
- EmptyEnumerator.cs
- Message.cs
- RuntimeWrappedException.cs
- Emitter.cs
- ClientRuntimeConfig.cs
- log.cs
- TypeElement.cs
- ConfigurationValidatorAttribute.cs
- RequestQueryProcessor.cs
- XmlQualifiedName.cs
- DoubleKeyFrameCollection.cs
- UpdateRecord.cs
- PropertyMetadata.cs
- DataControlCommands.cs
- EventLogTraceListener.cs
- SafePointer.cs
- RichTextBoxConstants.cs
- HttpChannelHelpers.cs
- MessageTransmitTraceRecord.cs