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
- Helper.cs
- UnionQueryOperator.cs
- SafeHandles.cs
- SortDescription.cs
- CancelEventArgs.cs
- CustomGrammar.cs
- XmlValueConverter.cs
- ServiceDescriptionReflector.cs
- StorageMappingFragment.cs
- Helpers.cs
- AnnotationMap.cs
- TaskForm.cs
- TraceHelpers.cs
- ConsoleEntryPoint.cs
- DataGridViewCellConverter.cs
- DefaultWorkflowTransactionService.cs
- XmlSchemaType.cs
- XamlStackWriter.cs
- ToolStrip.cs
- SpeechAudioFormatInfo.cs
- Splitter.cs
- COSERVERINFO.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ToolStripContainer.cs
- SiteMap.cs
- XamlPointCollectionSerializer.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- InheritedPropertyDescriptor.cs
- OdbcReferenceCollection.cs
- WebZone.cs
- DataGridViewCellFormattingEventArgs.cs
- OleDbMetaDataFactory.cs
- AuthenticationServiceManager.cs
- TargetControlTypeAttribute.cs
- ButtonField.cs
- DataListComponentEditor.cs
- SapiGrammar.cs
- ResourceDictionary.cs
- CharStorage.cs
- EventLogPermissionEntry.cs
- Parameter.cs
- FormParameter.cs
- SafeThemeHandle.cs
- CalendarDesigner.cs
- Trace.cs
- WindowsComboBox.cs
- DocumentAutomationPeer.cs
- Utilities.cs
- StrokeNodeOperations2.cs
- XmlDocumentSerializer.cs
- Point3DCollection.cs
- X509ChainElement.cs
- OneOf.cs
- ThreadStaticAttribute.cs
- SmtpDateTime.cs
- TrackingWorkflowEventArgs.cs
- PropertyCollection.cs
- CodeGenHelper.cs
- PeerTransportBindingElement.cs
- VisualStateChangedEventArgs.cs
- DataGridLinkButton.cs
- RectIndependentAnimationStorage.cs
- FormattedText.cs
- InfoCardClaim.cs
- ContentWrapperAttribute.cs
- ReferencedCollectionType.cs
- DLinqTableProvider.cs
- Crypto.cs
- SqlGatherConsumedAliases.cs
- MaterialGroup.cs
- InvalidContentTypeException.cs
- SoapConverter.cs
- ResourceExpression.cs
- JoinCqlBlock.cs
- recordstate.cs
- DesignerDataColumn.cs
- RuleInfoComparer.cs
- TerminateSequence.cs
- BindingNavigator.cs
- SchemaMerger.cs
- GeneralTransform2DTo3DTo2D.cs
- MethodBuilderInstantiation.cs
- ToolStripArrowRenderEventArgs.cs
- UnSafeCharBuffer.cs
- HashAlgorithm.cs
- SQLBinary.cs
- NavigationPropertyAccessor.cs
- ExecutionContext.cs
- SendParametersContent.cs
- DSACryptoServiceProvider.cs
- SafeProcessHandle.cs
- ListBindingHelper.cs
- SizeChangedInfo.cs
- WindowsListViewItemStartMenu.cs
- ZipFileInfoCollection.cs
- TypeTypeConverter.cs
- ChtmlLinkAdapter.cs
- WpfSharedXamlSchemaContext.cs
- EntityDataSourceViewSchema.cs
- SystemIPv6InterfaceProperties.cs