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
- ControlIdConverter.cs
- Int64AnimationUsingKeyFrames.cs
- ConnectionProviderAttribute.cs
- FileVersionInfo.cs
- IdnElement.cs
- SoapIncludeAttribute.cs
- BookmarkWorkItem.cs
- CachedTypeface.cs
- IsolatedStorageFilePermission.cs
- SimpleWebHandlerParser.cs
- MailMessage.cs
- BamlRecordReader.cs
- TrustSection.cs
- Size.cs
- IdentityNotMappedException.cs
- SafeLocalAllocation.cs
- PointHitTestParameters.cs
- ReliabilityContractAttribute.cs
- StringCollection.cs
- CallbackDebugElement.cs
- DataGridTextBoxColumn.cs
- DefaultAsyncDataDispatcher.cs
- PageParserFilter.cs
- ChangePasswordDesigner.cs
- SmiSettersStream.cs
- XhtmlBasicControlAdapter.cs
- PrimitiveRenderer.cs
- ImageSource.cs
- StringInfo.cs
- CompareInfo.cs
- IriParsingElement.cs
- DecimalFormatter.cs
- PropertyHelper.cs
- RC2.cs
- ButtonChrome.cs
- ScrollData.cs
- DataServiceHost.cs
- FormsAuthenticationUserCollection.cs
- xdrvalidator.cs
- ProviderException.cs
- StringSource.cs
- SetIterators.cs
- MaterialGroup.cs
- StrongNameKeyPair.cs
- PointCollectionConverter.cs
- ObjectParameter.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- QilReplaceVisitor.cs
- IndexOutOfRangeException.cs
- FactoryGenerator.cs
- StringExpressionSet.cs
- CategoryGridEntry.cs
- PathFigureCollectionConverter.cs
- RoleGroupCollection.cs
- IPAddressCollection.cs
- CompositeFontParser.cs
- XslNumber.cs
- RoleManagerEventArgs.cs
- SqlClientPermission.cs
- XmlTextAttribute.cs
- Point3DValueSerializer.cs
- IdentityNotMappedException.cs
- EtwTrackingParticipant.cs
- ProtocolProfile.cs
- WarningException.cs
- ConfigurationConverterBase.cs
- PagePropertiesChangingEventArgs.cs
- XmlSerializerFactory.cs
- HttpBindingExtension.cs
- IssuedTokensHeader.cs
- InputLangChangeRequestEvent.cs
- RtfFormatStack.cs
- GenericUriParser.cs
- CryptoKeySecurity.cs
- TimeSpanStorage.cs
- ipaddressinformationcollection.cs
- DigestTraceRecordHelper.cs
- XmlSchemaNotation.cs
- HMACRIPEMD160.cs
- GeneratedCodeAttribute.cs
- GridToolTip.cs
- TextTabProperties.cs
- NameValueSectionHandler.cs
- FileDialogPermission.cs
- OrderedDictionary.cs
- HostingEnvironment.cs
- _Rfc2616CacheValidators.cs
- BamlStream.cs
- UserControlBuildProvider.cs
- IApplicationTrustManager.cs
- SortedList.cs
- RectangleGeometry.cs
- metadatamappinghashervisitor.cs
- templategroup.cs
- LocalizationParserHooks.cs
- mansign.cs
- DeviceSpecific.cs
- CombinedGeometry.cs
- BitmapEffectDrawingContent.cs
- DockProviderWrapper.cs