Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SamlAssertion.cs
- InputLanguage.cs
- SqlTransaction.cs
- CardSpaceShim.cs
- TypedRowHandler.cs
- SetterBaseCollection.cs
- XmlWriterSettings.cs
- Lazy.cs
- AnnotationAuthorChangedEventArgs.cs
- TextView.cs
- EraserBehavior.cs
- DateTimeParse.cs
- CodeDirectiveCollection.cs
- NamespaceTable.cs
- validation.cs
- TreeBuilder.cs
- InfoCardXmlSerializer.cs
- XmlSerializerSection.cs
- UriSectionData.cs
- SmtpReplyReaderFactory.cs
- SyntaxCheck.cs
- dsa.cs
- MachineKey.cs
- Parser.cs
- DocComment.cs
- ContextMenuAutomationPeer.cs
- SafeMILHandle.cs
- EventMap.cs
- WSHttpBindingBaseElement.cs
- ContractCodeDomInfo.cs
- EntityParameter.cs
- HttpHostedTransportConfiguration.cs
- OutOfProcStateClientManager.cs
- ProjectionCamera.cs
- EdmSchemaAttribute.cs
- DataGridViewImageColumn.cs
- SerializationAttributes.cs
- Descriptor.cs
- Point3DCollectionConverter.cs
- LabelLiteral.cs
- SmiMetaData.cs
- BitmapSizeOptions.cs
- ArrayList.cs
- SafeFileMappingHandle.cs
- CheckBoxStandardAdapter.cs
- Button.cs
- DrawingAttributesDefaultValueFactory.cs
- UniqueID.cs
- DataObjectPastingEventArgs.cs
- ContractTypeNameCollection.cs
- Executor.cs
- WebConfigurationHost.cs
- XmlDataCollection.cs
- ImageDesigner.cs
- Message.cs
- InputScope.cs
- FontDifferentiator.cs
- WebPartDisplayModeEventArgs.cs
- CollectionViewGroupRoot.cs
- Window.cs
- WmlSelectionListAdapter.cs
- RenderContext.cs
- ExpressionTextBoxAutomationPeer.cs
- BitmapSource.cs
- MsmqIntegrationBindingCollectionElement.cs
- ReachPageContentSerializer.cs
- XmlSchemaAll.cs
- ListBindableAttribute.cs
- RefreshPropertiesAttribute.cs
- QueryExtender.cs
- MessageBox.cs
- BevelBitmapEffect.cs
- TextRangeProviderWrapper.cs
- CollectionViewSource.cs
- ImageInfo.cs
- TreeChangeInfo.cs
- ResolvePPIDRequest.cs
- ValidationService.cs
- OSFeature.cs
- ExpressionStringBuilder.cs
- InternalTransaction.cs
- ExpressionBindingCollection.cs
- RequestStatusBarUpdateEventArgs.cs
- XmlSchemaIdentityConstraint.cs
- DefaultBinder.cs
- DockingAttribute.cs
- XmlBinaryReader.cs
- ArrangedElementCollection.cs
- BamlLocalizer.cs
- ClonableStack.cs
- ImageInfo.cs
- AssociatedControlConverter.cs
- FrameworkContentElementAutomationPeer.cs
- BeginEvent.cs
- HTMLTagNameToTypeMapper.cs
- WebBrowserSiteBase.cs
- NameTable.cs
- FaultException.cs
- AsyncDataRequest.cs
- RequestResponse.cs