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
- DuplicateDetector.cs
- Privilege.cs
- NamedPermissionSet.cs
- Subtree.cs
- XmlLanguageConverter.cs
- NamespaceDisplay.xaml.cs
- TextBoxBaseDesigner.cs
- TempFiles.cs
- Span.cs
- RemotingException.cs
- X509PeerCertificateAuthenticationElement.cs
- ByteKeyFrameCollection.cs
- ConfigurationConverterBase.cs
- Vector3dCollection.cs
- ThicknessConverter.cs
- Char.cs
- WindowsGraphics2.cs
- EditorPartDesigner.cs
- FixedPage.cs
- Color.cs
- CanonicalFontFamilyReference.cs
- WebServiceData.cs
- EntityParameter.cs
- typedescriptorpermissionattribute.cs
- ScrollViewer.cs
- HttpStreamFormatter.cs
- GPPOINTF.cs
- NativeMethods.cs
- ChannelSinkStacks.cs
- XmlEncodedRawTextWriter.cs
- ReadOnlyDictionary.cs
- ProcessInputEventArgs.cs
- XmlDataFileEditor.cs
- ExpressionNode.cs
- StateWorkerRequest.cs
- EventLogSession.cs
- PerformanceCounterPermission.cs
- WebPartConnectionsCancelEventArgs.cs
- WebPartConnectVerb.cs
- HostSecurityManager.cs
- RequestCachingSection.cs
- BamlRecordReader.cs
- _SslSessionsCache.cs
- ManagementClass.cs
- PerCallInstanceContextProvider.cs
- HtmlTable.cs
- ErasingStroke.cs
- DateTimeConstantAttribute.cs
- X509SecurityTokenAuthenticator.cs
- EncoderReplacementFallback.cs
- HttpClientCertificate.cs
- DynamicArgumentDialog.cs
- QilReference.cs
- TextTreeUndo.cs
- _HeaderInfo.cs
- ToggleProviderWrapper.cs
- OptimalTextSource.cs
- CodeNamespaceImportCollection.cs
- CodeValidator.cs
- HotSpot.cs
- ComponentTray.cs
- JsonWriter.cs
- SqlDataRecord.cs
- SimpleFieldTemplateUserControl.cs
- EntityDataSourceValidationException.cs
- RowVisual.cs
- ArgumentException.cs
- LayoutTable.cs
- TextStore.cs
- DataGridGeneralPage.cs
- DataServiceException.cs
- Oid.cs
- ZipFileInfoCollection.cs
- ToolStripDropTargetManager.cs
- WorkflowHostingResponseContext.cs
- ClassValidator.cs
- DefaultConfirmation.cs
- DataKeyArray.cs
- ReferenceTypeElement.cs
- RecordsAffectedEventArgs.cs
- CommandConverter.cs
- PropertyTabAttribute.cs
- Panel.cs
- ObjectDataSourceDisposingEventArgs.cs
- PassportAuthentication.cs
- TextEffect.cs
- EndpointReference.cs
- LiteralControl.cs
- CursorConverter.cs
- IsolatedStorage.cs
- DeviceContext.cs
- InertiaRotationBehavior.cs
- WebHttpSecurityModeHelper.cs
- CharKeyFrameCollection.cs
- XPathNodeInfoAtom.cs
- ReferencedAssembly.cs
- Schema.cs
- WebException.cs
- BlockUIContainer.cs
- SplineKeyFrames.cs