Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Reflection / AmbiguousMatchException.cs / 1305376 / 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("RFLCT.Ambiguous")) { 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("RFLCT.Ambiguous")) { 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
- ManipulationInertiaStartingEventArgs.cs
- AssemblyHash.cs
- complextypematerializer.cs
- DefaultTextStoreTextComposition.cs
- DependencyStoreSurrogate.cs
- RelationshipManager.cs
- SafeCancelMibChangeNotify.cs
- WaitHandle.cs
- DataBoundControlHelper.cs
- IDReferencePropertyAttribute.cs
- BitmapDecoder.cs
- WhiteSpaceTrimStringConverter.cs
- FtpWebRequest.cs
- NativeStructs.cs
- PixelShader.cs
- TemplateBuilder.cs
- ToolStripItemImageRenderEventArgs.cs
- InternalConfigHost.cs
- XslTransform.cs
- WSTransactionSection.cs
- ProcessHost.cs
- CompilerErrorCollection.cs
- RtfToXamlLexer.cs
- XmlReader.cs
- OrderedHashRepartitionStream.cs
- MiniMapControl.xaml.cs
- GregorianCalendarHelper.cs
- DisableDpiAwarenessAttribute.cs
- HttpApplicationFactory.cs
- StoreAnnotationsMap.cs
- LambdaCompiler.Lambda.cs
- HostExecutionContextManager.cs
- regiisutil.cs
- ProgressBarBrushConverter.cs
- RecordConverter.cs
- ValidatedControlConverter.cs
- TableCellsCollectionEditor.cs
- uribuilder.cs
- Literal.cs
- MouseBinding.cs
- SetterBaseCollection.cs
- XmlWriter.cs
- RootContext.cs
- ListBox.cs
- SurrogateSelector.cs
- FormViewPageEventArgs.cs
- ByteAnimationBase.cs
- WebPartVerb.cs
- ExpandableObjectConverter.cs
- ExpandCollapseProviderWrapper.cs
- ExpressionContext.cs
- ping.cs
- ScriptMethodAttribute.cs
- OutOfProcStateClientManager.cs
- ClientSection.cs
- KeyPullup.cs
- SafeRegistryHandle.cs
- SecurityTokenAttachmentMode.cs
- NativeActivityMetadata.cs
- PageStatePersister.cs
- SystemIcmpV4Statistics.cs
- PropertyValueUIItem.cs
- AnimationTimeline.cs
- GlobalProxySelection.cs
- ActivationArguments.cs
- SHA384CryptoServiceProvider.cs
- SQLDateTime.cs
- PersonalizationEntry.cs
- ProjectedWrapper.cs
- DetailsViewCommandEventArgs.cs
- SafeThemeHandle.cs
- ExtensionDataReader.cs
- HttpFileCollection.cs
- MetadataArtifactLoaderComposite.cs
- ConfigurationSectionHelper.cs
- DataService.cs
- ExceptionUtil.cs
- BaseInfoTable.cs
- WindowsToolbar.cs
- Header.cs
- RegistryConfigurationProvider.cs
- CrossSiteScriptingValidation.cs
- BoolExpr.cs
- RoleService.cs
- NameNode.cs
- SqlDataSourceQueryEditor.cs
- FaultConverter.cs
- TaskFactory.cs
- MatrixCamera.cs
- CodeMethodMap.cs
- CapiHashAlgorithm.cs
- FileSystemInfo.cs
- WsdlInspector.cs
- SettingsBindableAttribute.cs
- ScopelessEnumAttribute.cs
- SmtpMail.cs
- BaseCodeDomTreeGenerator.cs
- FontUnit.cs
- CompilerState.cs
- WebBrowserBase.cs