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
- AmbiguousMatchException.cs
- COM2EnumConverter.cs
- DistinctQueryOperator.cs
- CollectionEditorDialog.cs
- Point.cs
- DesignerVerb.cs
- PropertyReferenceSerializer.cs
- XmlDownloadManager.cs
- LabelLiteral.cs
- WebPartManager.cs
- WebPartEventArgs.cs
- HtmlTableRow.cs
- LineSegment.cs
- EndpointInfoCollection.cs
- EventLogPermissionEntryCollection.cs
- DataServices.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- ModifiableIteratorCollection.cs
- SmtpMail.cs
- PassportIdentity.cs
- IDReferencePropertyAttribute.cs
- X509SecurityToken.cs
- COM2ExtendedUITypeEditor.cs
- XslTransform.cs
- TextAdaptor.cs
- AbsoluteQuery.cs
- SqlUnionizer.cs
- HtmlTitle.cs
- FillBehavior.cs
- DataBoundControlAdapter.cs
- TextReader.cs
- PeekCompletedEventArgs.cs
- DirectoryRootQuery.cs
- ProxyWebPart.cs
- PointConverter.cs
- DockingAttribute.cs
- TrackingRecordPreFilter.cs
- MarginCollapsingState.cs
- TreeNode.cs
- ToolBarButton.cs
- XmlNamespaceManager.cs
- DataContext.cs
- UxThemeWrapper.cs
- TitleStyle.cs
- GeneralTransformGroup.cs
- Column.cs
- SchemaElementLookUpTable.cs
- RegexGroupCollection.cs
- MappableObjectManager.cs
- HyperLinkDesigner.cs
- ToolStripContentPanel.cs
- XmlAttributes.cs
- BamlLocalizer.cs
- MiniLockedBorderGlyph.cs
- HashSet.cs
- DateTimeValueSerializerContext.cs
- CmsInterop.cs
- DetailsViewUpdateEventArgs.cs
- XmlObjectSerializerReadContextComplex.cs
- WebPartConnectionsConfigureVerb.cs
- GridViewAutoFormat.cs
- PasswordTextContainer.cs
- TypeUtil.cs
- HitTestResult.cs
- AttributeXamlType.cs
- ByteConverter.cs
- Int32.cs
- VoiceInfo.cs
- SelectionChangedEventArgs.cs
- PagerSettings.cs
- DataGridViewSortCompareEventArgs.cs
- MessagingActivityHelper.cs
- Win32SafeHandles.cs
- XmlSchemaChoice.cs
- NavigationEventArgs.cs
- StateMachineWorkflow.cs
- XpsSerializationException.cs
- FocusTracker.cs
- SimpleType.cs
- DataGridColumnHeadersPresenter.cs
- XmlSchemaChoice.cs
- StaticFileHandler.cs
- ColorConverter.cs
- WindowAutomationPeer.cs
- QilCloneVisitor.cs
- DataGridHeaderBorder.cs
- StickyNote.cs
- XPathDescendantIterator.cs
- ReferenceEqualityComparer.cs
- FileIOPermission.cs
- DrawListViewColumnHeaderEventArgs.cs
- TextElementEnumerator.cs
- HttpCapabilitiesSectionHandler.cs
- XmlQueryCardinality.cs
- SecurityElement.cs
- WindowsGraphics.cs
- CompletionCallbackWrapper.cs
- NetDataContractSerializer.cs
- TransactionException.cs
- BaseTemplateParser.cs