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
- PreviewPageInfo.cs
- TemplateBamlRecordReader.cs
- PersonalizationProvider.cs
- HttpClientChannel.cs
- DocumentSchemaValidator.cs
- WindowsClientElement.cs
- CodeSnippetStatement.cs
- FrameworkContentElement.cs
- UIServiceHelper.cs
- ObjectDataSourceStatusEventArgs.cs
- MLangCodePageEncoding.cs
- TraversalRequest.cs
- WinFormsSpinner.cs
- XmlAutoDetectWriter.cs
- XmlSchemaComplexType.cs
- ConvertersCollection.cs
- AbstractExpressions.cs
- FileRecordSequenceCompletedAsyncResult.cs
- PathGeometry.cs
- DirtyTextRange.cs
- SqlConnectionStringBuilder.cs
- WorkflowWebHostingModule.cs
- CookielessHelper.cs
- TaskFormBase.cs
- DelegateBodyWriter.cs
- HierarchicalDataBoundControl.cs
- ToolStripItemImageRenderEventArgs.cs
- IntPtr.cs
- Stream.cs
- MyContact.cs
- AuthenticationModulesSection.cs
- ServiceNotStartedException.cs
- DataBoundControlAdapter.cs
- Decorator.cs
- MessageBox.cs
- UndoManager.cs
- FileDialog.cs
- SaveFileDialog.cs
- PreservationFileReader.cs
- TextSpan.cs
- WhitespaceRuleLookup.cs
- SafeSecurityHandles.cs
- CacheSection.cs
- BitSet.cs
- ChannelManagerService.cs
- ResetableIterator.cs
- PointCollection.cs
- AnnouncementEndpoint.cs
- ObjectDataSourceDisposingEventArgs.cs
- XmlSchema.cs
- UnaryNode.cs
- BasicKeyConstraint.cs
- EncodingNLS.cs
- CompensationToken.cs
- TextSelection.cs
- Compress.cs
- InputProcessorProfiles.cs
- WebPartDisplayModeCollection.cs
- MouseOverProperty.cs
- BuildManager.cs
- MultiAsyncResult.cs
- EntityDataSourceSelectedEventArgs.cs
- NativeMethods.cs
- CustomCategoryAttribute.cs
- userdatakeys.cs
- RawKeyboardInputReport.cs
- TextCompositionManager.cs
- ResourcesGenerator.cs
- KeyTimeConverter.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- CompoundFileIOPermission.cs
- XmlNamespaceMappingCollection.cs
- StickyNoteHelper.cs
- ReflectionUtil.cs
- DesignerDataParameter.cs
- AuthenticationConfig.cs
- DeviceContexts.cs
- HostElement.cs
- ListenerElementsCollection.cs
- ResolvedKeyFrameEntry.cs
- ButtonField.cs
- WebControlParameterProxy.cs
- ObjectQueryProvider.cs
- SessionStateItemCollection.cs
- storepermission.cs
- PointHitTestParameters.cs
- XmlEntityReference.cs
- LoginViewDesigner.cs
- Number.cs
- DupHandleConnectionReader.cs
- MetaChildrenColumn.cs
- WebResourceAttribute.cs
- SafeReversePInvokeHandle.cs
- CodeGeneratorAttribute.cs
- ItemsPresenter.cs
- DebugTracing.cs
- TransformerInfo.cs
- cookiecollection.cs
- SlipBehavior.cs
- COM2TypeInfoProcessor.cs