Initializes a new instance of the ManagedToNativeComInteropStubAttribute class with the specified class type and method name.
Assembly: mscorlib (in mscorlib.dll)
The stub method is not in the same assembly as the interface that contains the managed interop method.
classType is a generic type.
classType is an interface.
methodName cannot be found.
The method is not static or non-generic.
The method's parameter list does not match the expected parameter list for the stub.
The interface that contains the managed interop method has no access to the stub method, because the stub method has private or protected accessibility, or because of a security issue.