mscorlib(4.0.0.0) API with additions
MethodAccessException.cs
3 
4 namespace System
5 {
8  [ComVisible(true)]
9  [__DynamicallyInvokable]
11  {
13  [__DynamicallyInvokable]
15  : base(Environment.GetResourceString("Arg_MethodAccessException"))
16  {
17  SetErrorCode(-2146233072);
18  }
19 
22  [__DynamicallyInvokable]
23  public MethodAccessException(string message)
24  : base(message)
25  {
26  SetErrorCode(-2146233072);
27  }
28 
32  [__DynamicallyInvokable]
33  public MethodAccessException(string message, Exception inner)
34  : base(message, inner)
35  {
36  SetErrorCode(-2146233072);
37  }
38 
43  : base(info, context)
44  {
45  }
46  }
47 }
The exception that is thrown when there is an invalid attempt to access a method, such as accessing a...
Definition: __Canon.cs:3
MethodAccessException(string message)
Initializes a new instance of the T:System.MethodAccessException class with a specified error message...
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Provides information about, and means to manipulate, the current environment and platform....
Definition: Environment.cs:21
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
MethodAccessException(string message, Exception inner)
Initializes a new instance of the T:System.MethodAccessException class with a specified error message...
MethodAccessException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.MethodAccessException class with serialized data.
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition: Exception.cs:22
MethodAccessException()
Initializes a new instance of the T:System.MethodAccessException class, setting the P:System....
Specifies that the class can be serialized.
The exception that is thrown when an attempt to access a class member fails.