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
- ObjectItemCachedAssemblyLoader.cs
- CachedPathData.cs
- OdbcCommand.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ClientCultureInfo.cs
- SurrogateSelector.cs
- TranslateTransform.cs
- QualifiedId.cs
- ContentValidator.cs
- BamlRecords.cs
- HttpValueCollection.cs
- RtfToXamlLexer.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- ScriptModule.cs
- DiscoveryReferences.cs
- TrackingProfile.cs
- TriggerCollection.cs
- QuaternionConverter.cs
- HttpStreamXmlDictionaryWriter.cs
- BindingManagerDataErrorEventArgs.cs
- UInt16Converter.cs
- ToolStripLabel.cs
- RowsCopiedEventArgs.cs
- VisualBrush.cs
- AxParameterData.cs
- IPEndPoint.cs
- XmlQueryTypeFactory.cs
- SwitchLevelAttribute.cs
- TemplateContentLoader.cs
- DataSourceSelectArguments.cs
- Int32Collection.cs
- ServiceObjectContainer.cs
- ApplicationDirectory.cs
- DocumentScope.cs
- DigitalSignature.cs
- ValidatorCompatibilityHelper.cs
- CustomWebEventKey.cs
- ValueType.cs
- BinHexEncoder.cs
- CurrentChangingEventManager.cs
- ByteKeyFrameCollection.cs
- ContractBase.cs
- SerializationHelper.cs
- DataSetViewSchema.cs
- DetailsViewInsertedEventArgs.cs
- UIServiceHelper.cs
- DiagnosticTrace.cs
- CacheOutputQuery.cs
- ProcessModelSection.cs
- CrossAppDomainChannel.cs
- PopupEventArgs.cs
- IxmlLineInfo.cs
- HttpCapabilitiesSectionHandler.cs
- AssertUtility.cs
- RemoteWebConfigurationHost.cs
- ObjectCacheHost.cs
- WebPartsSection.cs
- SafeNativeMethods.cs
- ObjectDataSourceDisposingEventArgs.cs
- LexicalChunk.cs
- odbcmetadatafactory.cs
- Walker.cs
- ArrayHelper.cs
- Win32.cs
- ParserContext.cs
- FrameworkRichTextComposition.cs
- XmlILStorageConverter.cs
- FilterElement.cs
- ObjectViewFactory.cs
- RangeContentEnumerator.cs
- AncestorChangedEventArgs.cs
- NamedObject.cs
- RegistryExceptionHelper.cs
- RequiredFieldValidator.cs
- assertwrapper.cs
- ConfigDefinitionUpdates.cs
- DesignerInterfaces.cs
- SecurityCriticalDataForSet.cs
- DeploymentExceptionMapper.cs
- ProgressBar.cs
- Shape.cs
- brushes.cs
- TableSectionStyle.cs
- CellConstant.cs
- ToolStripDropDownItem.cs
- SchemaImporter.cs
- GB18030Encoding.cs
- ElementFactory.cs
- BasicDesignerLoader.cs
- Vector3DKeyFrameCollection.cs
- MatrixTransform.cs
- WriterOutput.cs
- AutoCompleteStringCollection.cs
- DataSourceXmlTextReader.cs
- AsyncInvokeContext.cs
- BindingNavigator.cs
- MemberInfoSerializationHolder.cs
- HelpOperationInvoker.cs
- RegionIterator.cs
- XPathCompileException.cs