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
- MessageQueueInstaller.cs
- HttpAsyncResult.cs
- EventBuilder.cs
- PageAsyncTaskManager.cs
- NumericExpr.cs
- WebPartActionVerb.cs
- WindowsRichEdit.cs
- XmlSerializerAssemblyAttribute.cs
- PointLightBase.cs
- StreamWithDictionary.cs
- ByteBufferPool.cs
- EndpointDiscoveryMetadata.cs
- ByteAnimation.cs
- InputBindingCollection.cs
- GcHandle.cs
- DataGridHeaderBorder.cs
- ByteConverter.cs
- DoubleLinkListEnumerator.cs
- ListBase.cs
- EventDescriptor.cs
- RemoteWebConfigurationHostServer.cs
- TextRangeEditLists.cs
- URLAttribute.cs
- GradientStopCollection.cs
- DataGridViewSelectedColumnCollection.cs
- XmlUtil.cs
- PageHandlerFactory.cs
- ComboBoxRenderer.cs
- UserNameSecurityTokenAuthenticator.cs
- ByteFacetDescriptionElement.cs
- LateBoundBitmapDecoder.cs
- XmlSerializerNamespaces.cs
- ReadOnlyCollection.cs
- RemoteWebConfigurationHost.cs
- PriorityRange.cs
- WebPartConnectionsCancelEventArgs.cs
- SettingsSavedEventArgs.cs
- HtmlTernaryTree.cs
- Parameter.cs
- OracleBFile.cs
- Utils.cs
- SmtpReplyReader.cs
- Mouse.cs
- ProfileManager.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ProfileEventArgs.cs
- PkcsMisc.cs
- TemplateBindingExtensionConverter.cs
- StringAttributeCollection.cs
- UInt64.cs
- PerformanceCounterManager.cs
- TCEAdapterGenerator.cs
- RegexNode.cs
- ConfigurationManagerHelper.cs
- PtsHelper.cs
- EntityDataSourceContextCreatedEventArgs.cs
- OSFeature.cs
- BidirectionalDictionary.cs
- SymDocumentType.cs
- ColumnClickEvent.cs
- TimeoutValidationAttribute.cs
- SiteMapHierarchicalDataSourceView.cs
- XmlChildEnumerator.cs
- ToolStripContentPanel.cs
- CodeTypeMemberCollection.cs
- OverflowException.cs
- SmtpMail.cs
- MachineKeyValidationConverter.cs
- DataGridViewCellMouseEventArgs.cs
- ColumnResizeAdorner.cs
- ProxyManager.cs
- FileLogRecordEnumerator.cs
- ReflectionHelper.cs
- JavaScriptString.cs
- ExternalException.cs
- InternalControlCollection.cs
- DotAtomReader.cs
- ReturnEventArgs.cs
- XmlWrappingReader.cs
- ModuleBuilderData.cs
- IBuiltInEvidence.cs
- CodeTypeReferenceExpression.cs
- MouseActionConverter.cs
- Marshal.cs
- PointLightBase.cs
- DataGridViewRowPostPaintEventArgs.cs
- SecurityPermission.cs
- WeakReferenceKey.cs
- BaseInfoTable.cs
- SecurityDescriptor.cs
- Component.cs
- BehaviorDragDropEventArgs.cs
- DataObjectCopyingEventArgs.cs
- SecuritySessionSecurityTokenProvider.cs
- TextParagraphProperties.cs
- BindingExpressionUncommonField.cs
- Style.cs
- NavigationEventArgs.cs
- DataTransferEventArgs.cs
- XmlWrappingReader.cs