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
- Rotation3DAnimation.cs
- ApplicationDirectoryMembershipCondition.cs
- DateTimeValueSerializerContext.cs
- HttpHandlerAction.cs
- DeobfuscatingStream.cs
- SizeChangedInfo.cs
- Parallel.cs
- CreateParams.cs
- HttpsHostedTransportConfiguration.cs
- ValidationResult.cs
- XmlLanguageConverter.cs
- AuthenticationConfig.cs
- UserNameSecurityTokenProvider.cs
- PasswordTextNavigator.cs
- DropDownList.cs
- UIElement3D.cs
- StringAttributeCollection.cs
- SerializerProvider.cs
- VerbConverter.cs
- EntityTemplateUserControl.cs
- Nullable.cs
- FileChangesMonitor.cs
- XmlSerializationGeneratedCode.cs
- DbParameterCollection.cs
- Typeface.cs
- ListBindingConverter.cs
- SqlRowUpdatedEvent.cs
- Odbc32.cs
- Rect3D.cs
- Parameter.cs
- BinaryWriter.cs
- RawStylusActions.cs
- OutOfMemoryException.cs
- DetailsViewPagerRow.cs
- Vector3D.cs
- ComponentRenameEvent.cs
- XmlMapping.cs
- ParallelTimeline.cs
- DeclarativeCatalogPart.cs
- Parser.cs
- BoundPropertyEntry.cs
- UnsafeNativeMethodsCLR.cs
- XmlAttributes.cs
- UriParserTemplates.cs
- ListItemCollection.cs
- MailWebEventProvider.cs
- ProfileGroupSettingsCollection.cs
- PrintPageEvent.cs
- FixUp.cs
- EventLogEntry.cs
- ApplyTemplatesAction.cs
- SqlInternalConnection.cs
- NativeMethods.cs
- CodeAttributeArgumentCollection.cs
- DataControlImageButton.cs
- JournalEntryStack.cs
- OutOfProcStateClientManager.cs
- PhysicalOps.cs
- AxHostDesigner.cs
- SortQuery.cs
- OleDbReferenceCollection.cs
- GridViewEditEventArgs.cs
- ListSortDescriptionCollection.cs
- NullableIntSumAggregationOperator.cs
- TargetControlTypeCache.cs
- TableRow.cs
- ActivityDesignerAccessibleObject.cs
- CollectionViewGroupRoot.cs
- CodeIdentifier.cs
- SoapClientProtocol.cs
- UIElementCollection.cs
- SoapSchemaImporter.cs
- HtmlShimManager.cs
- UInt16.cs
- HttpCachePolicy.cs
- OSFeature.cs
- TextRangeAdaptor.cs
- ImageList.cs
- BitmapEffectInputData.cs
- SupportsEventValidationAttribute.cs
- MultiAsyncResult.cs
- ImageClickEventArgs.cs
- StrongNameSignatureInformation.cs
- CustomCategoryAttribute.cs
- HttpChannelFactory.cs
- QueryInterceptorAttribute.cs
- BufferedGraphics.cs
- Stacktrace.cs
- SByteConverter.cs
- PropertyGridEditorPart.cs
- DefaultValueAttribute.cs
- AncillaryOps.cs
- Win32Native.cs
- ProfessionalColorTable.cs
- TraceUtils.cs
- Matrix3DValueSerializer.cs
- DataGridViewColumnCollection.cs
- RenderContext.cs
- DesignerSerializationVisibilityAttribute.cs
- Variant.cs