Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Reflection / AmbiguousMatchException.cs / 1 / AmbiguousMatchException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // AmbiguousMatchException is thrown when binding to a method results in more // than one method matching the binding criteria. This exception is thrown in // general when something is Ambiguous. // // // // namespace System.Reflection { using System; using SystemException = System.SystemException; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public sealed class AmbiguousMatchException : SystemException { public AmbiguousMatchException() : base(Environment.GetResourceString("Arg_AmbiguousMatchException")) { SetErrorCode(__HResults.COR_E_AMBIGUOUSMATCH); } public AmbiguousMatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_AMBIGUOUSMATCH); } public AmbiguousMatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_AMBIGUOUSMATCH); } internal AmbiguousMatchException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// // // AmbiguousMatchException is thrown when binding to a method results in more // than one method matching the binding criteria. This exception is thrown in // general when something is Ambiguous. // // // // namespace System.Reflection { using System; using SystemException = System.SystemException; using System.Runtime.Serialization; [Serializable()] [System.Runtime.InteropServices.ComVisible(true)] public sealed class AmbiguousMatchException : SystemException { public AmbiguousMatchException() : base(Environment.GetResourceString("Arg_AmbiguousMatchException")) { SetErrorCode(__HResults.COR_E_AMBIGUOUSMATCH); } public AmbiguousMatchException(String message) : base(message) { SetErrorCode(__HResults.COR_E_AMBIGUOUSMATCH); } public AmbiguousMatchException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_AMBIGUOUSMATCH); } internal AmbiguousMatchException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // 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
- Property.cs
- SocketPermission.cs
- SuppressMessageAttribute.cs
- LicenseContext.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- VerticalAlignConverter.cs
- SqlException.cs
- DataStreamFromComStream.cs
- regiisutil.cs
- InputScope.cs
- DocumentEventArgs.cs
- UseAttributeSetsAction.cs
- PagesChangedEventArgs.cs
- ToolStripItemClickedEventArgs.cs
- FacetEnabledSchemaElement.cs
- Debug.cs
- ToolStripInSituService.cs
- ProcessThreadCollection.cs
- RegularExpressionValidator.cs
- SvcFileManager.cs
- DateTimeConverter2.cs
- ProtectedConfigurationProviderCollection.cs
- StringBuilder.cs
- DataChangedEventManager.cs
- JsonDataContract.cs
- DrawingContextDrawingContextWalker.cs
- odbcmetadatacolumnnames.cs
- XmlCharType.cs
- DynamicPropertyReader.cs
- DataMemberConverter.cs
- Comparer.cs
- UrlPath.cs
- TextEditorCharacters.cs
- ListBoxItemAutomationPeer.cs
- KeyGestureConverter.cs
- OperationPerformanceCounters.cs
- AssociativeAggregationOperator.cs
- GeneralTransform3DTo2D.cs
- DateTimeFormatInfo.cs
- StylusShape.cs
- HiddenFieldPageStatePersister.cs
- DocumentAutomationPeer.cs
- unitconverter.cs
- MulticastIPAddressInformationCollection.cs
- SqlInternalConnection.cs
- FixUp.cs
- DataGridViewCellEventArgs.cs
- HtmlEmptyTagControlBuilder.cs
- DefaultWorkflowTransactionService.cs
- ElasticEase.cs
- CaseInsensitiveComparer.cs
- SystemTcpStatistics.cs
- UshortList2.cs
- MissingMemberException.cs
- EntityFrameworkVersions.cs
- RequestReplyCorrelator.cs
- OpenTypeLayout.cs
- DnsCache.cs
- PropertyManager.cs
- ReadWriteObjectLock.cs
- IDispatchConstantAttribute.cs
- XmlSchemaValidator.cs
- ISAPIRuntime.cs
- VirtualizingPanel.cs
- ControlUtil.cs
- BrowserDefinitionCollection.cs
- MonthCalendar.cs
- CopyNamespacesAction.cs
- Propagator.JoinPropagator.cs
- XmlCollation.cs
- DeclarativeCatalogPart.cs
- FormatterServices.cs
- SelectionListComponentEditor.cs
- DisplayInformation.cs
- UnsafeCollabNativeMethods.cs
- KeyboardEventArgs.cs
- TableLayoutCellPaintEventArgs.cs
- DataServiceProcessingPipeline.cs
- HyperLinkColumn.cs
- OracleMonthSpan.cs
- Schedule.cs
- TranslateTransform.cs
- FreezableOperations.cs
- DataSourceControl.cs
- MutexSecurity.cs
- CheckBoxRenderer.cs
- ToolZone.cs
- ToolStripDropTargetManager.cs
- AdPostCacheSubstitution.cs
- SendMailErrorEventArgs.cs
- InitializingNewItemEventArgs.cs
- ColorMap.cs
- MailMessageEventArgs.cs
- EventPropertyMap.cs
- CopyNamespacesAction.cs
- EncoderBestFitFallback.cs
- WindowPattern.cs
- GeometryDrawing.cs
- LayoutTableCell.cs
- SerTrace.cs