Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / MethodAccessException.cs / 1 / MethodAccessException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: MethodAccessException ** ** Purpose: The exception class for class loading failures. ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class MethodAccessException : MemberAccessException { public MethodAccessException() : base(Environment.GetResourceString("Arg_MethodAccessException")) { SetErrorCode(__HResults.COR_E_METHODACCESS); } public MethodAccessException(String message) : base(message) { SetErrorCode(__HResults.COR_E_METHODACCESS); } public MethodAccessException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_METHODACCESS); } protected MethodAccessException(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. // // ==--== /*============================================================================== ** ** Class: MethodAccessException ** ** Purpose: The exception class for class loading failures. ** =============================================================================*/ namespace System { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class MethodAccessException : MemberAccessException { public MethodAccessException() : base(Environment.GetResourceString("Arg_MethodAccessException")) { SetErrorCode(__HResults.COR_E_METHODACCESS); } public MethodAccessException(String message) : base(message) { SetErrorCode(__HResults.COR_E_METHODACCESS); } public MethodAccessException(String message, Exception inner) : base(message, inner) { SetErrorCode(__HResults.COR_E_METHODACCESS); } protected MethodAccessException(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
- KnownBoxes.cs
- FormViewDesigner.cs
- ellipse.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- ClientTargetSection.cs
- PathFigureCollection.cs
- SourceSwitch.cs
- CompleteWizardStep.cs
- ContentElementCollection.cs
- GeneralTransform3D.cs
- IndexOutOfRangeException.cs
- ImportCatalogPart.cs
- TypeNameConverter.cs
- Accessible.cs
- MembershipSection.cs
- GlyphShapingProperties.cs
- BypassElementCollection.cs
- UpDownEvent.cs
- Helpers.cs
- EdmFunction.cs
- ComboBox.cs
- AlternateView.cs
- CheckBox.cs
- cryptoapiTransform.cs
- RequestBringIntoViewEventArgs.cs
- TextMessageEncoder.cs
- Parameter.cs
- ChineseLunisolarCalendar.cs
- ServiceMetadataExtension.cs
- Page.cs
- SslStream.cs
- Stylus.cs
- SqlExpander.cs
- WebScriptMetadataFormatter.cs
- ParsedRoute.cs
- SessionStateContainer.cs
- ZipIOExtraFieldZip64Element.cs
- Trigger.cs
- CommandBinding.cs
- SafeArchiveContext.cs
- MultilineStringEditor.cs
- ReflectTypeDescriptionProvider.cs
- VerificationAttribute.cs
- GeometryModel3D.cs
- MsmqIntegrationInputMessage.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Module.cs
- BuildProvider.cs
- PrintControllerWithStatusDialog.cs
- StorageModelBuildProvider.cs
- IntPtr.cs
- PageThemeParser.cs
- GridViewRowPresenter.cs
- ElementNotEnabledException.cs
- Padding.cs
- BaseTemplateBuildProvider.cs
- PathNode.cs
- IteratorDescriptor.cs
- GridViewEditEventArgs.cs
- File.cs
- MetadataSet.cs
- ItemContainerPattern.cs
- Cursor.cs
- ExternalException.cs
- DeferredRunTextReference.cs
- XamlWrappingReader.cs
- ApplicationException.cs
- TemplateXamlParser.cs
- ListViewItemMouseHoverEvent.cs
- EpmSyndicationContentSerializer.cs
- FlowDocumentView.cs
- _ChunkParse.cs
- PngBitmapDecoder.cs
- MenuItem.cs
- SoapAttributes.cs
- CachedCompositeFamily.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- DataGridViewAccessibleObject.cs
- ValidationService.cs
- AliasGenerator.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- LocatorPartList.cs
- GridViewEditEventArgs.cs
- PipelineModuleStepContainer.cs
- WinEventQueueItem.cs
- WindowsIPAddress.cs
- SystemDropShadowChrome.cs
- DependencyPropertyKind.cs
- PropertyInfo.cs
- RightsManagementEncryptedStream.cs
- ProxyHelper.cs
- BinaryWriter.cs
- BlurBitmapEffect.cs
- TaiwanCalendar.cs
- ProtocolsConfigurationHandler.cs
- ConfigurationPermission.cs
- ReadWriteSpinLock.cs
- Point3D.cs
- XPathSingletonIterator.cs
- XmlLoader.cs