Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SQlBooleanStorage.cs
- DropShadowEffect.cs
- CapabilitiesSection.cs
- AnnotationMap.cs
- DeflateInput.cs
- PlatformNotSupportedException.cs
- Translator.cs
- ErrorStyle.cs
- DataObjectFieldAttribute.cs
- SharedStream.cs
- ActivityDesigner.cs
- UserControlParser.cs
- InputScope.cs
- TextParagraphView.cs
- SharedStatics.cs
- DependencyPropertyKey.cs
- OdbcConnectionString.cs
- SubclassTypeValidatorAttribute.cs
- OdbcRowUpdatingEvent.cs
- GuidTagList.cs
- TypefaceMap.cs
- PathParser.cs
- ActiveXHost.cs
- PointAnimation.cs
- QueryOptionExpression.cs
- XmlText.cs
- SessionPageStatePersister.cs
- BufferedMessageWriter.cs
- PasswordTextNavigator.cs
- UInt32.cs
- DecimalConstantAttribute.cs
- OutKeywords.cs
- SymbolType.cs
- XMLDiffLoader.cs
- Rect3D.cs
- WebPartTransformerCollection.cs
- MatrixConverter.cs
- TraceHandlerErrorFormatter.cs
- TextElementEnumerator.cs
- TextEditorSpelling.cs
- Utils.cs
- ElementsClipboardData.cs
- ListComponentEditorPage.cs
- EntitySqlQueryCacheEntry.cs
- GlobalizationAssembly.cs
- PingOptions.cs
- PropertyBuilder.cs
- StyleModeStack.cs
- SynthesizerStateChangedEventArgs.cs
- CodeAttributeDeclaration.cs
- HttpModulesSection.cs
- UIElementParaClient.cs
- CallContext.cs
- _PooledStream.cs
- SendKeys.cs
- _NTAuthentication.cs
- ControlPaint.cs
- EntityClientCacheEntry.cs
- DefaultExpression.cs
- DataSourceHelper.cs
- CodeAccessSecurityEngine.cs
- MemberRestriction.cs
- StickyNoteHelper.cs
- KeyValueInternalCollection.cs
- SQLInt16Storage.cs
- AttributeQuery.cs
- PanelDesigner.cs
- DynamicMethod.cs
- UIElement3D.cs
- CodeDelegateCreateExpression.cs
- Serializer.cs
- HttpCacheVary.cs
- SrgsRule.cs
- ErrorView.xaml.cs
- ContainerUtilities.cs
- CodeArrayCreateExpression.cs
- UnsafeNativeMethods.cs
- PersonalizationAdministration.cs
- DataGridViewRowPrePaintEventArgs.cs
- EarlyBoundInfo.cs
- NativeMethods.cs
- BitmapEffectOutputConnector.cs
- ConfigXmlElement.cs
- FacetEnabledSchemaElement.cs
- CompositeControl.cs
- ThreadAttributes.cs
- PrivilegeNotHeldException.cs
- RegexGroupCollection.cs
- WinFormsSecurity.cs
- ListViewContainer.cs
- ForceCopyBuildProvider.cs
- MainMenu.cs
- SessionSwitchEventArgs.cs
- HttpResponse.cs
- DataGridViewColumnStateChangedEventArgs.cs
- WebPartManager.cs
- MDIClient.cs
- OdbcException.cs
- DependencyPropertyHelper.cs
- BaseParser.cs