Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SoapBinding.cs
- Int64AnimationUsingKeyFrames.cs
- Visitor.cs
- Library.cs
- IteratorDescriptor.cs
- ReceiveCompletedEventArgs.cs
- ApplicationManager.cs
- ParserHooks.cs
- AspNetSynchronizationContext.cs
- LayoutTableCell.cs
- SelectedDatesCollection.cs
- XsltLoader.cs
- TextRangeProviderWrapper.cs
- NoResizeHandleGlyph.cs
- FrameworkContentElement.cs
- CodeMemberField.cs
- ToolTipService.cs
- TextEffectResolver.cs
- FieldTemplateUserControl.cs
- User.cs
- MatrixStack.cs
- JulianCalendar.cs
- KeyValuePairs.cs
- UpdateException.cs
- ObjectViewListener.cs
- Cursor.cs
- PerformanceCountersElement.cs
- SafeRegistryHandle.cs
- CutCopyPasteHelper.cs
- PeerOutputChannel.cs
- DataControlLinkButton.cs
- ThicknessConverter.cs
- FaultHandlingFilter.cs
- FontStretches.cs
- WindowInteractionStateTracker.cs
- TcpClientChannel.cs
- OwnerDrawPropertyBag.cs
- CqlLexer.cs
- ModulesEntry.cs
- ResXResourceSet.cs
- KnowledgeBase.cs
- XamlVector3DCollectionSerializer.cs
- TextTrailingWordEllipsis.cs
- ToolZoneDesigner.cs
- SessionIDManager.cs
- StyleSelector.cs
- EdgeProfileValidation.cs
- BrowserCapabilitiesFactory.cs
- NameTable.cs
- InstalledFontCollection.cs
- ParsedAttributeCollection.cs
- HtmlFormParameterWriter.cs
- InvalidateEvent.cs
- OutKeywords.cs
- TextDecorationLocationValidation.cs
- Point3DCollection.cs
- DataGridPagingPage.cs
- FactoryId.cs
- RankException.cs
- Cursors.cs
- RIPEMD160Managed.cs
- UnknownWrapper.cs
- InheritanceContextChangedEventManager.cs
- DataGridViewImageColumn.cs
- SmtpException.cs
- SQLChars.cs
- BitmapEffectGeneralTransform.cs
- TextBox.cs
- XmlDataLoader.cs
- ToolStripContainer.cs
- FixedSOMFixedBlock.cs
- FieldAccessException.cs
- HttpCookie.cs
- GridViewItemAutomationPeer.cs
- NotCondition.cs
- FontCacheUtil.cs
- InstanceKeyCollisionException.cs
- SiteMapDataSourceView.cs
- Material.cs
- ProgressBarRenderer.cs
- IdentifierCreationService.cs
- CompiledQuery.cs
- TextDecoration.cs
- sqlser.cs
- RuleSettingsCollection.cs
- ToolCreatedEventArgs.cs
- HttpCacheParams.cs
- errorpatternmatcher.cs
- TableHeaderCell.cs
- PersonalizablePropertyEntry.cs
- CheckedPointers.cs
- EventMappingSettingsCollection.cs
- mactripleDES.cs
- EncryptedHeaderXml.cs
- NavigationCommands.cs
- Utility.cs
- ModelItemCollectionImpl.cs
- RijndaelManagedTransform.cs
- DesignerVerbCollection.cs
- DialogResultConverter.cs