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
- SecurityRuntime.cs
- TextContainerChangedEventArgs.cs
- QilInvokeEarlyBound.cs
- TimeSpanValidator.cs
- ResourcePart.cs
- TokenCreationException.cs
- FunctionParameter.cs
- SdlChannelSink.cs
- InkPresenter.cs
- StringPropertyBuilder.cs
- ExcCanonicalXml.cs
- ReturnType.cs
- ScriptingJsonSerializationSection.cs
- RIPEMD160.cs
- RemoteWebConfigurationHost.cs
- SHA384.cs
- PixelFormat.cs
- SchemaHelper.cs
- Registry.cs
- PointF.cs
- AccessibleObject.cs
- QuaternionIndependentAnimationStorage.cs
- GridViewRowCollection.cs
- SqlCacheDependency.cs
- JapaneseCalendar.cs
- BasicViewGenerator.cs
- DataTemplate.cs
- WinFormsSpinner.cs
- CodeCastExpression.cs
- AddressingProperty.cs
- FixedPage.cs
- InputBuffer.cs
- XamlStyleSerializer.cs
- DropTarget.cs
- ItemsControl.cs
- FormatException.cs
- CodeEventReferenceExpression.cs
- Pair.cs
- documentsequencetextpointer.cs
- ItemList.cs
- SchemaNamespaceManager.cs
- WmlPageAdapter.cs
- HttpCachePolicy.cs
- mediaeventargs.cs
- EntityDataSourceReferenceGroup.cs
- HttpPostedFileWrapper.cs
- PrtTicket_Editor.cs
- XmlProcessingInstruction.cs
- ByteStreamMessageEncoderFactory.cs
- MetadataExchangeClient.cs
- DataFormats.cs
- _Rfc2616CacheValidators.cs
- RewritingPass.cs
- XmlExpressionDumper.cs
- NamedPermissionSet.cs
- TraversalRequest.cs
- ColorInterpolationModeValidation.cs
- SystemUnicastIPAddressInformation.cs
- Pkcs7Recipient.cs
- ObjectHandle.cs
- OledbConnectionStringbuilder.cs
- CodeGenerator.cs
- RepeaterCommandEventArgs.cs
- GlyphElement.cs
- ScriptReferenceEventArgs.cs
- InputProviderSite.cs
- ContentPropertyAttribute.cs
- Message.cs
- KeyValuePair.cs
- WorkflowDebuggerSteppingAttribute.cs
- FormViewInsertEventArgs.cs
- ClientRuntimeConfig.cs
- ListViewDeleteEventArgs.cs
- HttpProxyTransportBindingElement.cs
- TypeNameConverter.cs
- RequestContextBase.cs
- Byte.cs
- OleDbDataAdapter.cs
- FileUtil.cs
- AnnotationComponentManager.cs
- PropertyIDSet.cs
- EncryptedType.cs
- SettingsProviderCollection.cs
- TransactionContextValidator.cs
- NavigationFailedEventArgs.cs
- AddingNewEventArgs.cs
- HttpListenerException.cs
- TemplateBamlTreeBuilder.cs
- CellTreeNodeVisitors.cs
- _StreamFramer.cs
- AnnotationAdorner.cs
- RectangleGeometry.cs
- TriggerBase.cs
- Span.cs
- _AutoWebProxyScriptWrapper.cs
- Win32PrintDialog.cs
- ServicePointManagerElement.cs
- XamlVector3DCollectionSerializer.cs
- Brushes.cs
- ActivityCodeDomReferenceService.cs