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
- RequestQueue.cs
- ListBox.cs
- BitmapEffectRenderDataResource.cs
- DocumentOrderQuery.cs
- ImageAttributes.cs
- AccessText.cs
- DbBuffer.cs
- DataBindingExpressionBuilder.cs
- MediaEntryAttribute.cs
- WebPartHeaderCloseVerb.cs
- AVElementHelper.cs
- FacetDescription.cs
- EntitySetRetriever.cs
- CapabilitiesSection.cs
- DiagnosticStrings.cs
- GeneralTransform3DTo2D.cs
- MaskedTextProvider.cs
- ValidationEventArgs.cs
- X509Extension.cs
- ToggleProviderWrapper.cs
- ListViewContainer.cs
- SqlCacheDependencySection.cs
- DataBindingCollection.cs
- ZipFileInfo.cs
- SchemaNotation.cs
- ExtendedPropertyDescriptor.cs
- SeekableReadStream.cs
- EventMappingSettings.cs
- PropertyGridEditorPart.cs
- KoreanLunisolarCalendar.cs
- RTTrackingProfile.cs
- StylusButtonCollection.cs
- X509ChainElement.cs
- HwndStylusInputProvider.cs
- VectorCollectionConverter.cs
- DBNull.cs
- SqlIdentifier.cs
- ToolboxComponentsCreatingEventArgs.cs
- RadioButtonRenderer.cs
- XmlSchemaImport.cs
- LabelLiteral.cs
- MergeLocalizationDirectives.cs
- Section.cs
- Hash.cs
- DefaultWorkflowSchedulerService.cs
- BitmapEffectInput.cs
- CommandHelpers.cs
- WSTrustFeb2005.cs
- GradientStop.cs
- FrameworkTemplate.cs
- BindingNavigator.cs
- DocumentNUp.cs
- HTTPAPI_VERSION.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- RequiredArgumentAttribute.cs
- CodeRegionDirective.cs
- DiagnosticEventProvider.cs
- ScrollViewer.cs
- DataGridViewRowsAddedEventArgs.cs
- SessionStateUtil.cs
- ComplusTypeValidator.cs
- DispatcherExceptionFilterEventArgs.cs
- GridViewRowPresenterBase.cs
- BindingContext.cs
- XPathDescendantIterator.cs
- Error.cs
- ZipFileInfoCollection.cs
- XmlNodeList.cs
- AdornerPresentationContext.cs
- connectionpool.cs
- CodeIterationStatement.cs
- ExpressionEvaluator.cs
- ToolBarButtonDesigner.cs
- TextAdaptor.cs
- CatalogZoneDesigner.cs
- ThreadLocal.cs
- ClientUrlResolverWrapper.cs
- NavigationHelper.cs
- Style.cs
- JoinCqlBlock.cs
- UnsafeNativeMethods.cs
- FlatButtonAppearance.cs
- SByteConverter.cs
- EventRecordWrittenEventArgs.cs
- ToolStripContentPanelDesigner.cs
- BaseResourcesBuildProvider.cs
- TreeNodeBindingCollection.cs
- SpeakCompletedEventArgs.cs
- UnionCodeGroup.cs
- OleDbPermission.cs
- Matrix.cs
- TargetPerspective.cs
- SQLDouble.cs
- ImageClickEventArgs.cs
- WinEventTracker.cs
- ComponentResourceManager.cs
- HuffCodec.cs
- LogLogRecordEnumerator.cs
- PermissionAttributes.cs
- DesignerMetadata.cs