Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SplitContainerDesigner.cs
- ISAPIApplicationHost.cs
- DesignerContextDescriptor.cs
- AttachedAnnotation.cs
- X509ChainElement.cs
- MatchingStyle.cs
- IOThreadTimer.cs
- HelpProvider.cs
- ProtocolsConfigurationHandler.cs
- CompositeCollectionView.cs
- Vector3DAnimationBase.cs
- EntityProviderServices.cs
- AssemblyNameProxy.cs
- ImageMapEventArgs.cs
- CheckBoxBaseAdapter.cs
- MetafileHeaderWmf.cs
- AttributeProviderAttribute.cs
- MetadataItemEmitter.cs
- ScrollableControl.cs
- EntitySet.cs
- CacheDependency.cs
- ErrorCodes.cs
- ZoneLinkButton.cs
- SourceCollection.cs
- ParameterCollection.cs
- SrgsOneOf.cs
- Delegate.cs
- XmlTextWriter.cs
- CaseStatement.cs
- DesigntimeLicenseContextSerializer.cs
- KeyTime.cs
- Activity.cs
- OdbcConnectionHandle.cs
- EdmFunction.cs
- SectionInformation.cs
- WorkflowInstance.cs
- InstanceContext.cs
- CompositeCollectionView.cs
- ConfigurationUtility.cs
- TcpDuplicateContext.cs
- BufferedGraphicsContext.cs
- FreezableOperations.cs
- ResourceAttributes.cs
- SerialPinChanges.cs
- BoundColumn.cs
- TableParaClient.cs
- BamlTreeUpdater.cs
- XmlSchemaNotation.cs
- XmlSchemaType.cs
- Int32Converter.cs
- XmlSchemaExporter.cs
- XmlQueryContext.cs
- HttpValueCollection.cs
- SqlInternalConnectionSmi.cs
- RegexCode.cs
- FilePrompt.cs
- ValidatorCompatibilityHelper.cs
- InfoCardX509Validator.cs
- ReferenceList.cs
- InternalBase.cs
- WebPartDesigner.cs
- IndentedTextWriter.cs
- HtmlTable.cs
- Geometry3D.cs
- XmlObjectSerializerWriteContextComplex.cs
- OletxCommittableTransaction.cs
- XmlNotation.cs
- HtmlPanelAdapter.cs
- DynamicPropertyHolder.cs
- ToggleButtonAutomationPeer.cs
- XsdDataContractImporter.cs
- IntellisenseTextBox.cs
- ItemAutomationPeer.cs
- SmtpCommands.cs
- RefreshEventArgs.cs
- IsolatedStorageFilePermission.cs
- FontStyles.cs
- httpapplicationstate.cs
- IPAddress.cs
- DesignTimeSiteMapProvider.cs
- OdbcConnection.cs
- OdbcConnectionHandle.cs
- WebPartDisplayModeCollection.cs
- SoapConverter.cs
- MulticastNotSupportedException.cs
- DecoratedNameAttribute.cs
- InvalidOleVariantTypeException.cs
- ListItemParagraph.cs
- AutomationProperty.cs
- ConfigXmlCDataSection.cs
- ProviderCollection.cs
- MsmqBindingElementBase.cs
- PlainXmlDeserializer.cs
- ColumnHeader.cs
- XmlDataContract.cs
- CompileLiteralTextParser.cs
- ExpandCollapsePattern.cs
- TableAdapterManagerGenerator.cs
- DbBuffer.cs
- AppDomainResourcePerfCounters.cs