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
- LabelAutomationPeer.cs
- ArrayElementGridEntry.cs
- SqlConnectionPoolProviderInfo.cs
- LogFlushAsyncResult.cs
- RepeaterItemCollection.cs
- MatrixTransform3D.cs
- VectorAnimation.cs
- HtmlTableCellCollection.cs
- Grant.cs
- ApplicationServicesHostFactory.cs
- MobileUserControl.cs
- TableLayoutPanel.cs
- ViewBase.cs
- RawStylusInputCustomDataList.cs
- MappingSource.cs
- FocusWithinProperty.cs
- UIAgentAsyncBeginRequest.cs
- MetadataCache.cs
- IntegerValidator.cs
- ModifierKeysConverter.cs
- CodePageEncoding.cs
- DoubleConverter.cs
- Function.cs
- MemberDescriptor.cs
- EmptyEnumerable.cs
- Profiler.cs
- MetadataFile.cs
- Span.cs
- Point4DConverter.cs
- UnmanagedMarshal.cs
- HelpEvent.cs
- SingleAnimation.cs
- PostBackOptions.cs
- EntityStoreSchemaGenerator.cs
- ErrorHandler.cs
- ThumbAutomationPeer.cs
- ObjectRef.cs
- SmtpNetworkElement.cs
- CheckBoxRenderer.cs
- WorkflowDebuggerSteppingAttribute.cs
- MethodBuilderInstantiation.cs
- MessageDecoder.cs
- CodeDirectionExpression.cs
- FormViewPagerRow.cs
- Serializer.cs
- WebPartTracker.cs
- ReadOnlyHierarchicalDataSource.cs
- tooltip.cs
- TrackingProfileSerializer.cs
- EntityDescriptor.cs
- PeerConnector.cs
- CredentialManagerDialog.cs
- ConfigXmlComment.cs
- WorkflowWebService.cs
- TextServicesProperty.cs
- MediaPlayer.cs
- TraceContext.cs
- ImportException.cs
- XsdBuildProvider.cs
- WrappedIUnknown.cs
- PersonalizationStateInfo.cs
- EntityDataSourceEntitySetNameItem.cs
- Vector3DIndependentAnimationStorage.cs
- XPathAncestorIterator.cs
- BasicDesignerLoader.cs
- DetailsViewCommandEventArgs.cs
- InputElement.cs
- ModuleElement.cs
- TemplateInstanceAttribute.cs
- BridgeDataReader.cs
- smtpconnection.cs
- DataGridViewDesigner.cs
- SqlFlattener.cs
- CursorConverter.cs
- DataTableNewRowEvent.cs
- ObjectFullSpanRewriter.cs
- ObjectTypeMapping.cs
- SqlCacheDependency.cs
- ObjectListItemCollection.cs
- Vector.cs
- SamlConditions.cs
- FileSystemWatcher.cs
- DefaultWorkflowTransactionService.cs
- BitmapSourceSafeMILHandle.cs
- SessionIDManager.cs
- KeyGestureConverter.cs
- ConfigurationValidatorAttribute.cs
- MobileErrorInfo.cs
- SQLDouble.cs
- EmptyStringExpandableObjectConverter.cs
- GACMembershipCondition.cs
- CroppedBitmap.cs
- IncrementalReadDecoders.cs
- OrderByQueryOptionExpression.cs
- XMLSchema.cs
- TextEditorThreadLocalStore.cs
- ListViewHitTestInfo.cs
- DictationGrammar.cs
- _NegoStream.cs
- WSSecurityPolicy.cs