Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / MethodAccessException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- SamlSecurityToken.cs
- Semaphore.cs
- ObjectDataSourceStatusEventArgs.cs
- FrameworkTextComposition.cs
- DocumentApplicationJournalEntryEventArgs.cs
- UInt64.cs
- ImageCodecInfoPrivate.cs
- BitmapEffectvisualstate.cs
- Opcode.cs
- Image.cs
- AccessedThroughPropertyAttribute.cs
- EdmItemCollection.OcAssemblyCache.cs
- TableLayoutRowStyleCollection.cs
- ProgressPage.cs
- KeyInterop.cs
- CultureTableRecord.cs
- PieceDirectory.cs
- TcpTransportSecurity.cs
- BinaryReader.cs
- oledbmetadatacollectionnames.cs
- Directory.cs
- ChineseLunisolarCalendar.cs
- ProviderBase.cs
- DependencyObjectProvider.cs
- DesignerForm.cs
- PersonalizationStateInfo.cs
- DataGridItem.cs
- DataBindingExpressionBuilder.cs
- JournalEntry.cs
- HMACSHA512.cs
- SiteMapHierarchicalDataSourceView.cs
- DllNotFoundException.cs
- StringDictionary.cs
- CodeStatementCollection.cs
- Variant.cs
- WCFModelStrings.Designer.cs
- TargetConverter.cs
- MenuAdapter.cs
- EntityConnectionStringBuilder.cs
- MobileCategoryAttribute.cs
- shaperfactory.cs
- AdvancedBindingEditor.cs
- WindowsFormsHelpers.cs
- ObjectCacheHost.cs
- MostlySingletonList.cs
- XsltCompileContext.cs
- SHA1Cng.cs
- DataGridViewIntLinkedList.cs
- GeneralTransformGroup.cs
- XmlLoader.cs
- FeatureSupport.cs
- WebConfigurationFileMap.cs
- ELinqQueryState.cs
- HuffmanTree.cs
- ObsoleteAttribute.cs
- NativeMethods.cs
- SqlNodeAnnotation.cs
- InputBindingCollection.cs
- DataGridViewTextBoxEditingControl.cs
- EntityClientCacheEntry.cs
- FullTrustAssemblyCollection.cs
- RepeatInfo.cs
- StoreItemCollection.Loader.cs
- SiteMapPath.cs
- FlowStep.cs
- HitTestParameters.cs
- RSAPKCS1SignatureDeformatter.cs
- WpfWebRequestHelper.cs
- JapaneseLunisolarCalendar.cs
- RecordConverter.cs
- DynamicPropertyReader.cs
- InheritanceContextHelper.cs
- ExtendedPropertyCollection.cs
- ConfigurationValue.cs
- Drawing.cs
- WindowsGraphicsWrapper.cs
- DrawingBrush.cs
- WebBrowserProgressChangedEventHandler.cs
- PersonalizableTypeEntry.cs
- AnimationStorage.cs
- InkCollectionBehavior.cs
- PrimitiveOperationFormatter.cs
- DataGridViewCellValidatingEventArgs.cs
- ThreadStartException.cs
- CustomActivityDesigner.cs
- DataContractAttribute.cs
- CFGGrammar.cs
- ProjectionPathSegment.cs
- OrderingExpression.cs
- DataControlFieldsEditor.cs
- MiniParameterInfo.cs
- EdmItemCollection.cs
- Int32EqualityComparer.cs
- InternalEnumValidatorAttribute.cs
- NetworkInformationPermission.cs
- BackgroundWorker.cs
- ProfileService.cs
- Freezable.cs
- ObjectSecurity.cs
- CachedPathData.cs