Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Data / System / Data / OleDb / OleDbInfoMessageEvent.cs / 1305376 / OleDbInfoMessageEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //[....] //----------------------------------------------------------------------------- namespace System.Data.OleDb { using System; using System.Diagnostics; public 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; public 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
- BindingCompleteEventArgs.cs
- ImageKeyConverter.cs
- BitmapImage.cs
- FontCollection.cs
- returneventsaver.cs
- QualifiedCellIdBoolean.cs
- OpenFileDialog.cs
- WebEncodingValidatorAttribute.cs
- ResXResourceWriter.cs
- NameTable.cs
- FileSystemEventArgs.cs
- GridViewCommandEventArgs.cs
- DataGridViewUtilities.cs
- IntSecurity.cs
- SubMenuStyleCollection.cs
- UniqueIdentifierService.cs
- SynchronizedKeyedCollection.cs
- ParseChildrenAsPropertiesAttribute.cs
- BasicExpandProvider.cs
- ThemeInfoAttribute.cs
- DispatcherExceptionEventArgs.cs
- Decoder.cs
- BamlLocalizer.cs
- PickBranch.cs
- XmlEnumAttribute.cs
- DefaultValidator.cs
- Debug.cs
- Knowncolors.cs
- AxImporter.cs
- ComponentDispatcher.cs
- TemplatedWizardStep.cs
- EventLogger.cs
- HttpListenerRequest.cs
- WorkflowServiceBehavior.cs
- FileDialog_Vista.cs
- _SslState.cs
- ObjectSpanRewriter.cs
- TablePatternIdentifiers.cs
- StringToken.cs
- UseAttributeSetsAction.cs
- ProviderException.cs
- SafeNativeMethods.cs
- Duration.cs
- SmiEventStream.cs
- ElementHost.cs
- Debug.cs
- ScrollBarRenderer.cs
- HtmlInputRadioButton.cs
- PropertyToken.cs
- AttributeUsageAttribute.cs
- WebBrowsableAttribute.cs
- PerformanceCounterPermission.cs
- MemberInfoSerializationHolder.cs
- ToolStripSettings.cs
- NumericUpDown.cs
- SystemResources.cs
- KeyGestureValueSerializer.cs
- OledbConnectionStringbuilder.cs
- DataSetMappper.cs
- RequestCacheEntry.cs
- StoragePropertyMapping.cs
- ListItemConverter.cs
- DataRowView.cs
- DbConnectionPool.cs
- ImageUrlEditor.cs
- CharEnumerator.cs
- TypedTableBase.cs
- ContentFilePart.cs
- DrawListViewSubItemEventArgs.cs
- TableDetailsCollection.cs
- SelectionProcessor.cs
- IncrementalCompileAnalyzer.cs
- EventProviderWriter.cs
- ResourceExpressionBuilder.cs
- DriveNotFoundException.cs
- DelayDesigner.cs
- RuleConditionDialog.cs
- BinaryObjectInfo.cs
- Helper.cs
- DataGridViewCellValidatingEventArgs.cs
- XmlSchemaValidator.cs
- AnnotationComponentManager.cs
- SettingsBase.cs
- precedingsibling.cs
- SplineKeyFrames.cs
- Composition.cs
- FontStyle.cs
- documentsequencetextcontainer.cs
- Int16KeyFrameCollection.cs
- TrackPointCollection.cs
- DataGridCheckBoxColumn.cs
- TagMapInfo.cs
- DataFieldConverter.cs
- ControlBindingsCollection.cs
- DynamicExpression.cs
- TypeConverterAttribute.cs
- XmlDataSource.cs
- NamespaceTable.cs
- PropertyToken.cs
- ControlTemplate.cs