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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeTypeDeclarationCollection.cs
- LinqDataSourceUpdateEventArgs.cs
- SafeMILHandle.cs
- ResourceCategoryAttribute.cs
- CapacityStreamGeometryContext.cs
- RecognizeCompletedEventArgs.cs
- SQLUtility.cs
- DependsOnAttribute.cs
- PopupControlService.cs
- CommandLineParser.cs
- selecteditemcollection.cs
- TypeListConverter.cs
- LinkedResourceCollection.cs
- ConstructorBuilder.cs
- ConnectionStringsSection.cs
- XmlWriter.cs
- WebPartZoneBase.cs
- QilNode.cs
- BooleanSwitch.cs
- WebPartAddingEventArgs.cs
- DrawingImage.cs
- EncoderBestFitFallback.cs
- VirtualPathData.cs
- arc.cs
- NetworkCredential.cs
- ComponentDispatcherThread.cs
- GenericWebPart.cs
- UnmanagedMarshal.cs
- QueryCacheKey.cs
- GridItemPatternIdentifiers.cs
- ObjectDataSourceSelectingEventArgs.cs
- BitmapCodecInfo.cs
- DetailsViewRow.cs
- TypeConverterHelper.cs
- TcpWorkerProcess.cs
- EdmValidator.cs
- RuntimeConfig.cs
- EventLogPermissionEntry.cs
- GifBitmapEncoder.cs
- TextRangeProviderWrapper.cs
- WrappedDispatcherException.cs
- KeyConstraint.cs
- RadioButtonDesigner.cs
- Stroke2.cs
- UdpDiscoveryEndpointProvider.cs
- StringStorage.cs
- XmlWriterTraceListener.cs
- GregorianCalendarHelper.cs
- EventTrigger.cs
- UserControlCodeDomTreeGenerator.cs
- ResourceKey.cs
- GradientStop.cs
- EditorResources.cs
- HttpWebRequest.cs
- ParameterModifier.cs
- TextTreeUndoUnit.cs
- Assert.cs
- ToolboxItemWrapper.cs
- EllipseGeometry.cs
- PassportAuthenticationModule.cs
- SymLanguageType.cs
- WSHttpBinding.cs
- PeerTransportListenAddressConverter.cs
- updateconfighost.cs
- ModelItemKeyValuePair.cs
- OrderByBuilder.cs
- VectorAnimation.cs
- OutputCacheProfile.cs
- ToolStripLabel.cs
- precedingquery.cs
- VirtualPathProvider.cs
- WebPartAddingEventArgs.cs
- GeneralTransformCollection.cs
- Models.cs
- Semaphore.cs
- ExternalException.cs
- MediaTimeline.cs
- TableLayoutColumnStyleCollection.cs
- DesignConnection.cs
- Mappings.cs
- HttpGetServerProtocol.cs
- ApplicationSecurityManager.cs
- MemoryFailPoint.cs
- PtsHost.cs
- XPathException.cs
- TdsParserStaticMethods.cs
- WebPartHelpVerb.cs
- LoginViewDesigner.cs
- JsonObjectDataContract.cs
- LayoutManager.cs
- DelegatingConfigHost.cs
- TimeSpanConverter.cs
- PageCatalogPartDesigner.cs
- LinqDataSourceContextData.cs
- SessionEndingEventArgs.cs
- WebCategoryAttribute.cs
- WarningException.cs
- HwndStylusInputProvider.cs
- TextSelection.cs
- ExpressionBuilderCollection.cs