Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / MissingMethodException.cs / 1 / MissingMethodException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: MissingMethodException ** ** ** Purpose: The exception class for class loading failures. ** ** =============================================================================*/ namespace System { using System; using System.Runtime.Remoting; using System.Runtime.Serialization; using System.Runtime.CompilerServices; using System.Globalization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class MissingMethodException : MissingMemberException, ISerializable { public MissingMethodException() : base(Environment.GetResourceString("Arg_MissingMethodException")) { SetErrorCode(__HResults.COR_E_MISSINGMETHOD); } public MissingMethodException(String message) : base(message) { SetErrorCode(__HResults.COR_E_MISSINGMETHOD); } public MissingMethodException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_MISSINGMETHOD); } protected MissingMethodException(SerializationInfo info, StreamingContext context) : base(info, context) { } public override String Message { get { if (ClassName == null) { return base.Message; } else { // do any desired fixups to classname here. return String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("MissingMethod_Name", ClassName + "." + MemberName + (Signature != null ? " " + FormatSignature(Signature) : ""))); } } } // Called from the EE private MissingMethodException(String className, String methodName, byte[] signature) { ClassName = className; MemberName = methodName; Signature = signature; } public MissingMethodException(String className, String methodName) { ClassName = className; MemberName = methodName; } // If ClassName != null, Message will construct on the fly using it // and the other variables. This allows customization of the // format depending on the language environment. } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReferencedCollectionType.cs
- ProxyFragment.cs
- ForEachAction.cs
- XmlAnyElementAttribute.cs
- Stroke.cs
- ResXBuildProvider.cs
- ProgressPage.cs
- diagnosticsswitches.cs
- BitVec.cs
- NeutralResourcesLanguageAttribute.cs
- parserscommon.cs
- AnnotationResource.cs
- ObjectViewFactory.cs
- ReadOnlyCollection.cs
- MultipartIdentifier.cs
- RSAPKCS1SignatureDeformatter.cs
- RtfNavigator.cs
- TextParentUndoUnit.cs
- CodeComment.cs
- RootBrowserWindowAutomationPeer.cs
- ContentPropertyAttribute.cs
- SafeSecurityHandles.cs
- Bitmap.cs
- SqlNotificationEventArgs.cs
- RegexCode.cs
- NegatedCellConstant.cs
- ProgressBarBrushConverter.cs
- PropertyGridCommands.cs
- HttpPostedFile.cs
- AuthenticationSection.cs
- RegexStringValidator.cs
- BinaryConverter.cs
- BinaryCommonClasses.cs
- SoapServerProtocol.cs
- Relationship.cs
- ObjectStateFormatter.cs
- ConfigurationLocationCollection.cs
- CollectionBase.cs
- COM2ICategorizePropertiesHandler.cs
- ClientScriptManagerWrapper.cs
- WindowsNonControl.cs
- DataSourceHelper.cs
- TableRow.cs
- BorderGapMaskConverter.cs
- DataBinder.cs
- BamlWriter.cs
- CurrencyWrapper.cs
- AbstractSvcMapFileLoader.cs
- ProbeMatchesApril2005.cs
- FrameworkObject.cs
- GotoExpression.cs
- ProfilePropertySettings.cs
- ISessionStateStore.cs
- SynchronousChannelMergeEnumerator.cs
- SiteMapPathDesigner.cs
- DynamicRouteExpression.cs
- RichTextBox.cs
- WebPartTracker.cs
- MsmqQueue.cs
- ValueTypeFixupInfo.cs
- MasterPageCodeDomTreeGenerator.cs
- HttpWebResponse.cs
- BindingOperations.cs
- CodeTypeConstructor.cs
- XmlSchemaSimpleTypeList.cs
- AnnotationStore.cs
- StyleModeStack.cs
- SingleStorage.cs
- CommandBindingCollection.cs
- CqlParserHelpers.cs
- HttpPostedFile.cs
- StrokeNodeData.cs
- DetailsViewRowCollection.cs
- BindingManagerDataErrorEventArgs.cs
- ProfileBuildProvider.cs
- ProfileInfo.cs
- EncryptedKey.cs
- SynchronizationLockException.cs
- CallId.cs
- MatchingStyle.cs
- IdentityNotMappedException.cs
- FontFaceLayoutInfo.cs
- NetSectionGroup.cs
- DataGridViewToolTip.cs
- XPathNodeIterator.cs
- TypeDefinition.cs
- EnumerableCollectionView.cs
- CacheSection.cs
- StorageModelBuildProvider.cs
- DesignerCategoryAttribute.cs
- BufferedWebEventProvider.cs
- NonSerializedAttribute.cs
- FixedSOMLineRanges.cs
- TextRunProperties.cs
- FixedSOMSemanticBox.cs
- KeyToListMap.cs
- Logging.cs
- ElementMarkupObject.cs
- DesignTable.cs
- StylusCaptureWithinProperty.cs