Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SimpleType.cs
- WindowsFormsSynchronizationContext.cs
- SystemFonts.cs
- AutomationPattern.cs
- XmlMapping.cs
- HostedHttpTransportManager.cs
- cookie.cs
- BindingExpressionUncommonField.cs
- HttpValueCollection.cs
- Command.cs
- Debug.cs
- SessionKeyExpiredException.cs
- Selector.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- StylusButton.cs
- PlaceHolder.cs
- BamlRecordWriter.cs
- DatatypeImplementation.cs
- NativeMethods.cs
- Evaluator.cs
- UnmanagedMemoryStream.cs
- StrongName.cs
- ClearTypeHintValidation.cs
- MergeFailedEvent.cs
- ReferencedAssembly.cs
- OlePropertyStructs.cs
- ConstraintStruct.cs
- GACIdentityPermission.cs
- ModelTreeEnumerator.cs
- WindowsTitleBar.cs
- PropertyReferenceSerializer.cs
- DbParameterCollectionHelper.cs
- DesignTimeParseData.cs
- XmlSchemaCompilationSettings.cs
- ManagementEventArgs.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- ClientSection.cs
- CapabilitiesPattern.cs
- safelink.cs
- ConfigurationStrings.cs
- PaintValueEventArgs.cs
- Application.cs
- Pkcs9Attribute.cs
- FileAuthorizationModule.cs
- TransformerTypeCollection.cs
- TextContainerChangeEventArgs.cs
- RawUIStateInputReport.cs
- ObjectDataSource.cs
- Action.cs
- MaskDescriptors.cs
- AttachedPropertyMethodSelector.cs
- BaseTemplateBuildProvider.cs
- PartitionResolver.cs
- WebPartEditorApplyVerb.cs
- ServiceModelActivity.cs
- WebEvents.cs
- SettingsContext.cs
- SqlDataSourceQueryEditor.cs
- RootProjectionNode.cs
- EdmToObjectNamespaceMap.cs
- NavigationPropertyAccessor.cs
- sqlstateclientmanager.cs
- WinFormsSpinner.cs
- SoapInteropTypes.cs
- ActivationServices.cs
- MethodImplAttribute.cs
- MenuTracker.cs
- RequestCacheValidator.cs
- SoapServerProtocol.cs
- FontSource.cs
- TheQuery.cs
- MDIWindowDialog.cs
- RevocationPoint.cs
- SelectionProcessor.cs
- DataControlFieldCell.cs
- ButtonRenderer.cs
- TextTreeTextElementNode.cs
- NativeMethods.cs
- AssemblyBuilder.cs
- ToolStripArrowRenderEventArgs.cs
- baseaxisquery.cs
- ClientApiGenerator.cs
- SecurityStandardsManager.cs
- Win32.cs
- HttpWriter.cs
- FixedSOMSemanticBox.cs
- ColumnMap.cs
- ColorKeyFrameCollection.cs
- SQLSingleStorage.cs
- DecoderExceptionFallback.cs
- Substitution.cs
- ToolStripControlHost.cs
- IgnoreDataMemberAttribute.cs
- WebPartConnectionCollection.cs
- Empty.cs
- storepermissionattribute.cs
- PropertyInfoSet.cs
- SafeMILHandleMemoryPressure.cs
- SuppressMessageAttribute.cs