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
- bindurihelper.cs
- SoapReflectionImporter.cs
- MSHTMLHostUtil.cs
- ViewSimplifier.cs
- WorkflowEnvironment.cs
- XmlReaderDelegator.cs
- AuthenticatingEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- ImageBrush.cs
- SafeCryptoHandles.cs
- ConfigsHelper.cs
- sqlcontext.cs
- XmlElementAttributes.cs
- TableCellCollection.cs
- Hashtable.cs
- BitmapEffectGeneralTransform.cs
- DbRetry.cs
- WindowPattern.cs
- AsymmetricSignatureDeformatter.cs
- GridViewRow.cs
- AxisAngleRotation3D.cs
- XPathPatternBuilder.cs
- InvokeProviderWrapper.cs
- ScrollViewerAutomationPeer.cs
- LabelInfo.cs
- ObfuscationAttribute.cs
- MimeWriter.cs
- RectangleHotSpot.cs
- XamlPointCollectionSerializer.cs
- ColumnWidthChangingEvent.cs
- TextBoxAutomationPeer.cs
- _FixedSizeReader.cs
- ActivityExecutionFilter.cs
- RtType.cs
- KeyedCollection.cs
- ValueQuery.cs
- Lease.cs
- ScriptResourceHandler.cs
- ApplicationSecurityInfo.cs
- TrustLevelCollection.cs
- WeakHashtable.cs
- ItemChangedEventArgs.cs
- HttpPostedFile.cs
- SelectionChangedEventArgs.cs
- SiteMapProvider.cs
- CheckedPointers.cs
- QueryReaderSettings.cs
- Image.cs
- DescendantQuery.cs
- BridgeDataReader.cs
- SuppressMergeCheckAttribute.cs
- PatternMatcher.cs
- NullableBoolConverter.cs
- XmlUtil.cs
- InheritanceService.cs
- MarkupProperty.cs
- xmlfixedPageInfo.cs
- UmAlQuraCalendar.cs
- RC2.cs
- QueueAccessMode.cs
- DetailsViewInsertEventArgs.cs
- cache.cs
- Single.cs
- TemplateControlCodeDomTreeGenerator.cs
- EndOfStreamException.cs
- KeyInterop.cs
- BoundsDrawingContextWalker.cs
- ResolveCriteriaApril2005.cs
- NativeMethods.cs
- PreservationFileReader.cs
- ElementHost.cs
- XmlBindingWorker.cs
- ControlValuePropertyAttribute.cs
- StructuralType.cs
- DesignerView.cs
- BinaryUtilClasses.cs
- DetailsViewInsertEventArgs.cs
- XmlSchemaAll.cs
- HostProtectionException.cs
- BamlStream.cs
- VersionConverter.cs
- CultureSpecificCharacterBufferRange.cs
- InkPresenterAutomationPeer.cs
- HandlerElement.cs
- PasswordPropertyTextAttribute.cs
- ContainsRowNumberChecker.cs
- SqlClientPermission.cs
- XmlObjectSerializerContext.cs
- XmlNullResolver.cs
- Keyboard.cs
- CodeTypeDelegate.cs
- SqlMethodCallConverter.cs
- RestHandler.cs
- XmlSortKeyAccumulator.cs
- GetPageCompletedEventArgs.cs
- cookieexception.cs
- FixedStringLookup.cs
- SafeEventLogReadHandle.cs
- BackStopAuthenticationModule.cs
- PackageDocument.cs