Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- NativeCppClassAttribute.cs
- EarlyBoundInfo.cs
- FileUtil.cs
- FtpWebResponse.cs
- PtsHost.cs
- XmlDocumentFieldSchema.cs
- ErrorHandlingAcceptor.cs
- Parameter.cs
- DesignerUtility.cs
- Identifier.cs
- SqlEnums.cs
- SiteOfOriginPart.cs
- MachineKeyConverter.cs
- ListBindingHelper.cs
- XmlObjectSerializerReadContextComplex.cs
- PrintSchema.cs
- BreakRecordTable.cs
- TrackBar.cs
- ProviderUtil.cs
- Block.cs
- SettingsContext.cs
- WindowsMenu.cs
- OdbcConnectionHandle.cs
- PriorityBindingExpression.cs
- IISMapPath.cs
- ElementNotAvailableException.cs
- DataGrid.cs
- ConstructorBuilder.cs
- StringOutput.cs
- DocumentReference.cs
- LateBoundBitmapDecoder.cs
- FrameSecurityDescriptor.cs
- SqlUDTStorage.cs
- DeviceContext.cs
- WsdlInspector.cs
- metrodevice.cs
- SchemaNames.cs
- Matrix3DConverter.cs
- XmlSchema.cs
- IdentityElement.cs
- StorageEndPropertyMapping.cs
- COM2ExtendedTypeConverter.cs
- DateTimeParse.cs
- safex509handles.cs
- Light.cs
- IPHostEntry.cs
- SqlCrossApplyToCrossJoin.cs
- Tool.cs
- EdmConstants.cs
- RuntimeHandles.cs
- UIElement3D.cs
- AstTree.cs
- DocumentSequence.cs
- ByteRangeDownloader.cs
- WizardPanelChangingEventArgs.cs
- InstancePersistenceCommand.cs
- Menu.cs
- EntityUtil.cs
- TreeViewCancelEvent.cs
- BufferModeSettings.cs
- InputLangChangeRequestEvent.cs
- SmiMetaData.cs
- InterleavedZipPartStream.cs
- HyperlinkAutomationPeer.cs
- PageAsyncTaskManager.cs
- GeneratedCodeAttribute.cs
- StrongNameMembershipCondition.cs
- BackgroundFormatInfo.cs
- OleDbMetaDataFactory.cs
- TickBar.cs
- TextParagraphView.cs
- ArrayElementGridEntry.cs
- CatalogZone.cs
- ResourceDisplayNameAttribute.cs
- XmlTextReader.cs
- WebPartConnectionsEventArgs.cs
- UpdateTracker.cs
- PrintDocument.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- ApplicationSecurityManager.cs
- BitmapData.cs
- MaskedTextBoxTextEditor.cs
- CellRelation.cs
- ToolStripDropDownClosedEventArgs.cs
- Switch.cs
- RectConverter.cs
- NetNamedPipeBindingElement.cs
- DataGridAddNewRow.cs
- TabItemAutomationPeer.cs
- BasicExpandProvider.cs
- ReadOnlyDictionary.cs
- SmuggledIUnknown.cs
- SafeNativeMethodsOther.cs
- HtmlInputControl.cs
- PbrsForward.cs
- SimpleMailWebEventProvider.cs
- ColorTransformHelper.cs
- newinstructionaction.cs
- DefaultAsyncDataDispatcher.cs
- DrawingContextDrawingContextWalker.cs