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
- XmlSchemaInfo.cs
- GraphicsPathIterator.cs
- GuidelineSet.cs
- TypeHelpers.cs
- NullableDecimalAverageAggregationOperator.cs
- ProcessStartInfo.cs
- rsa.cs
- DataRow.cs
- SafeCoTaskMem.cs
- ObjectMaterializedEventArgs.cs
- DataServiceRequest.cs
- JsonQNameDataContract.cs
- DropSource.cs
- WebPartEventArgs.cs
- TimeStampChecker.cs
- DefaultTextStore.cs
- ObjectFullSpanRewriter.cs
- RangeValuePattern.cs
- ConnectionStringSettingsCollection.cs
- FixUp.cs
- PathSegment.cs
- NotCondition.cs
- SpellerError.cs
- RegexFCD.cs
- DispatcherObject.cs
- AddInContractAttribute.cs
- CellIdBoolean.cs
- Selection.cs
- FontFamilyConverter.cs
- HtmlProps.cs
- ChannelEndpointElementCollection.cs
- Condition.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- MetadataAssemblyHelper.cs
- Base64Stream.cs
- UpdateTracker.cs
- MSAAWinEventWrap.cs
- CodeStatement.cs
- Matrix.cs
- PathSegment.cs
- CodeCommentStatement.cs
- WebHostUnsafeNativeMethods.cs
- SQLStringStorage.cs
- Clipboard.cs
- SoapSchemaMember.cs
- SymmetricAlgorithm.cs
- prompt.cs
- SubMenuStyle.cs
- StringFormat.cs
- TemplatedWizardStep.cs
- BackgroundWorker.cs
- TextProperties.cs
- RIPEMD160.cs
- TextEffectCollection.cs
- EntityDataSourceWizardForm.cs
- AsyncCompletedEventArgs.cs
- coordinator.cs
- TemplateColumn.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- TextTreeUndo.cs
- Math.cs
- RequestCacheManager.cs
- HotCommands.cs
- webproxy.cs
- EventBookmark.cs
- ContentFilePart.cs
- RegexCapture.cs
- WrapperSecurityCommunicationObject.cs
- FilterableAttribute.cs
- ItemCheckedEvent.cs
- BrowserCapabilitiesCompiler.cs
- SystemIPInterfaceStatistics.cs
- Selection.cs
- TextSpanModifier.cs
- CodeDomConfigurationHandler.cs
- UpdateCompiler.cs
- ComplexPropertyEntry.cs
- SchemaConstraints.cs
- FormViewPagerRow.cs
- ProfilePropertySettingsCollection.cs
- Parser.cs
- AssertSection.cs
- SendActivityEventArgs.cs
- RenderingEventArgs.cs
- ProcessingInstructionAction.cs
- ColorContextHelper.cs
- MenuItemStyle.cs
- DbDataSourceEnumerator.cs
- ConnectionsZone.cs
- EnumValidator.cs
- InternalDuplexBindingElement.cs
- XmlQualifiedName.cs
- ListControlDataBindingHandler.cs
- DataGridViewColumn.cs
- LabelAutomationPeer.cs
- Stylesheet.cs
- Token.cs
- RuleInfoComparer.cs
- RegexFCD.cs
- SurrogateSelector.cs