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
- ListBindableAttribute.cs
- TracingConnection.cs
- PasswordDeriveBytes.cs
- BinaryObjectWriter.cs
- FixedSOMSemanticBox.cs
- Storyboard.cs
- Recipient.cs
- TreeSet.cs
- ParentUndoUnit.cs
- FrameDimension.cs
- ImageButton.cs
- TypeDescriptor.cs
- X509Chain.cs
- CustomPopupPlacement.cs
- NegotiateStream.cs
- WebPartExportVerb.cs
- Base64Encoding.cs
- NodeInfo.cs
- validation.cs
- FileLogRecord.cs
- smtppermission.cs
- GroupPartitionExpr.cs
- NativeRightsManagementAPIsStructures.cs
- FormCollection.cs
- WebEventCodes.cs
- DataGridViewColumnTypeEditor.cs
- wpf-etw.cs
- XmlAggregates.cs
- DataBoundControlParameterTarget.cs
- CodeDomSerializationProvider.cs
- BinaryOperationBinder.cs
- ActiveXHelper.cs
- SQLRoleProvider.cs
- ColorComboBox.cs
- SplineKeyFrames.cs
- ImageClickEventArgs.cs
- ParserOptions.cs
- SQLDecimalStorage.cs
- Deserializer.cs
- TimerElapsedEvenArgs.cs
- FileDialogCustomPlace.cs
- ClientSettingsStore.cs
- EndpointReference.cs
- DbConnectionHelper.cs
- BooleanAnimationBase.cs
- OracleLob.cs
- ExpressionWriter.cs
- WebPartVerbsEventArgs.cs
- AssemblyUtil.cs
- CompiledIdentityConstraint.cs
- RelationshipSet.cs
- CollectionContainer.cs
- metadatamappinghashervisitor.cs
- DeploymentExceptionMapper.cs
- CompositeControl.cs
- Choices.cs
- GridViewRowPresenter.cs
- IImplicitResourceProvider.cs
- ExtenderProvidedPropertyAttribute.cs
- TraceSection.cs
- _NativeSSPI.cs
- __Error.cs
- ProgressBarHighlightConverter.cs
- PasswordPropertyTextAttribute.cs
- ControlValuePropertyAttribute.cs
- RowToParametersTransformer.cs
- TypeGeneratedEventArgs.cs
- Binding.cs
- WindowsPrincipal.cs
- _AutoWebProxyScriptWrapper.cs
- CreatingCookieEventArgs.cs
- AtlasWeb.Designer.cs
- OdbcEnvironmentHandle.cs
- SerTrace.cs
- XmlQueryContext.cs
- ContextProperty.cs
- FileStream.cs
- JulianCalendar.cs
- DynamicRenderer.cs
- UserNamePasswordClientCredential.cs
- NavigatorOutput.cs
- TextTreeDeleteContentUndoUnit.cs
- WindowsProgressbar.cs
- PieceNameHelper.cs
- UnsafeNativeMethodsTablet.cs
- EntityDataSourceChangedEventArgs.cs
- ToolBarButton.cs
- RootProfilePropertySettingsCollection.cs
- ModifierKeysValueSerializer.cs
- CookieParameter.cs
- CompilerCollection.cs
- ACL.cs
- XmlSerializer.cs
- ObfuscationAttribute.cs
- ActionFrame.cs
- ModelItemDictionary.cs
- TableRow.cs
- HttpDebugHandler.cs
- WebPartZoneAutoFormat.cs
- RankException.cs