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
- ApplicationServicesHostFactory.cs
- GenericWebPart.cs
- PropertyStore.cs
- CodeTypeReferenceSerializer.cs
- XhtmlTextWriter.cs
- DocumentAutomationPeer.cs
- DllNotFoundException.cs
- InternalEnumValidatorAttribute.cs
- TriggerCollection.cs
- SrgsNameValueTag.cs
- ParserStreamGeometryContext.cs
- TerminateSequence.cs
- ToolStripAdornerWindowService.cs
- ViewManager.cs
- MediaScriptCommandRoutedEventArgs.cs
- PageVisual.cs
- TextBlock.cs
- OdbcHandle.cs
- XmlAtomicValue.cs
- UInt64Converter.cs
- SiteMapProvider.cs
- FragmentQueryProcessor.cs
- ConnectionString.cs
- SoapEnumAttribute.cs
- DataGridViewRowConverter.cs
- WebPartUtil.cs
- ArrowControl.xaml.cs
- PassportPrincipal.cs
- ImageIndexConverter.cs
- ConfigurationStrings.cs
- EntityClassGenerator.cs
- RegistrySecurity.cs
- ColorConvertedBitmap.cs
- StatusStrip.cs
- ImageKeyConverter.cs
- ResXResourceSet.cs
- WhiteSpaceTrimStringConverter.cs
- PinnedBufferMemoryStream.cs
- SafePEFileHandle.cs
- FontConverter.cs
- FormDesigner.cs
- Hash.cs
- OpenFileDialog.cs
- ActivityScheduledQuery.cs
- ProxySimple.cs
- WebPartActionVerb.cs
- AvTraceFormat.cs
- ProgressBar.cs
- OperationExecutionFault.cs
- BuildDependencySet.cs
- SkipStoryboardToFill.cs
- RowToFieldTransformer.cs
- Keyboard.cs
- HybridWebProxyFinder.cs
- SourceFilter.cs
- SelectorItemAutomationPeer.cs
- DataGridViewAccessibleObject.cs
- DetailsViewUpdateEventArgs.cs
- StringArrayConverter.cs
- UserControl.cs
- PropertyMapper.cs
- DataSourceGroupCollection.cs
- MatrixConverter.cs
- DataTemplateSelector.cs
- WebPartsPersonalizationAuthorization.cs
- SmiConnection.cs
- IndependentAnimationStorage.cs
- NetCodeGroup.cs
- InternalBase.cs
- InfiniteIntConverter.cs
- TrackingStringDictionary.cs
- GridItemCollection.cs
- _AutoWebProxyScriptWrapper.cs
- ObjectDataSourceChooseMethodsPanel.cs
- SubMenuStyleCollectionEditor.cs
- CellTreeNode.cs
- HitTestParameters3D.cs
- ColorMap.cs
- DataGridViewSelectedRowCollection.cs
- ListViewItemSelectionChangedEvent.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- DataTransferEventArgs.cs
- BinaryCommonClasses.cs
- Rotation3D.cs
- IndentedTextWriter.cs
- HttpApplication.cs
- XmlObjectSerializerReadContextComplexJson.cs
- SerializerProvider.cs
- ScriptingAuthenticationServiceSection.cs
- Configuration.cs
- WebZone.cs
- OleDbRowUpdatingEvent.cs
- TrackingWorkflowEventArgs.cs
- StorageEntitySetMapping.cs
- MulticastOption.cs
- BoolExpression.cs
- BaseAppDomainProtocolHandler.cs
- UIElementParaClient.cs
- CompositeFontInfo.cs
- BindingNavigator.cs