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
- LinkArea.cs
- SchemaNotation.cs
- NamedElement.cs
- KeyValueInternalCollection.cs
- login.cs
- BasicViewGenerator.cs
- DataGridItemEventArgs.cs
- BezierSegment.cs
- PackagePartCollection.cs
- SqlConnection.cs
- WindowsIdentity.cs
- BitConverter.cs
- ExceptQueryOperator.cs
- AsymmetricSignatureDeformatter.cs
- SymLanguageVendor.cs
- IdentityNotMappedException.cs
- MetadataItem_Static.cs
- Command.cs
- FixedDocumentSequencePaginator.cs
- TableTextElementCollectionInternal.cs
- ListViewItem.cs
- PostBackOptions.cs
- SqlBulkCopyColumnMappingCollection.cs
- RequestBringIntoViewEventArgs.cs
- GridViewColumn.cs
- DrawListViewColumnHeaderEventArgs.cs
- XmlSchemaAnyAttribute.cs
- AutoGeneratedFieldProperties.cs
- PolyLineSegment.cs
- PropertyGridView.cs
- ContextQuery.cs
- FileDetails.cs
- PauseStoryboard.cs
- ComponentEvent.cs
- RoleGroupCollection.cs
- SizeConverter.cs
- WorkflowMessageEventHandler.cs
- SocketAddress.cs
- TypeSystem.cs
- ClockController.cs
- CSharpCodeProvider.cs
- BezierSegment.cs
- ManualResetEventSlim.cs
- WsatAdminException.cs
- DataSourceControlBuilder.cs
- WindowsTokenRoleProvider.cs
- TimeStampChecker.cs
- mactripleDES.cs
- XmlRootAttribute.cs
- PrivilegeNotHeldException.cs
- GlobalizationAssembly.cs
- RadioButton.cs
- XmlEntity.cs
- VariableAction.cs
- XmlSchemaComplexContentExtension.cs
- Int32Rect.cs
- WSUtilitySpecificationVersion.cs
- HMACSHA384.cs
- DataListCommandEventArgs.cs
- StdValidatorsAndConverters.cs
- StylusPlugInCollection.cs
- EntitySqlQueryCacheEntry.cs
- MenuItemBindingCollection.cs
- DataGridItem.cs
- DesignerActionList.cs
- HttpAsyncResult.cs
- PartialArray.cs
- ToolStripDropDownItem.cs
- SQLResource.cs
- VirtualDirectoryMappingCollection.cs
- DataFormat.cs
- AnnotationResource.cs
- ToolStripPanelCell.cs
- BufferManager.cs
- HttpListenerRequest.cs
- TransactionFlowBindingElementImporter.cs
- sqlinternaltransaction.cs
- SpellerStatusTable.cs
- ISAPIRuntime.cs
- SpeechDetectedEventArgs.cs
- XmlRootAttribute.cs
- UIElementIsland.cs
- StringToken.cs
- ListViewContainer.cs
- HierarchicalDataBoundControl.cs
- InheritanceContextChangedEventManager.cs
- XPathEmptyIterator.cs
- DataServiceContext.cs
- UnsafeNetInfoNativeMethods.cs
- EntityTypeBase.cs
- UIElementParaClient.cs
- BitmapCodecInfoInternal.cs
- ReplacementText.cs
- XmlAnyElementAttribute.cs
- SecurityException.cs
- TextViewBase.cs
- PolyLineSegment.cs
- EmissiveMaterial.cs
- FileAuthorizationModule.cs
- MachineKeyConverter.cs