InteropPermission.newmethod(InteropKind) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the InteropPermission class.
public:
void newmethod(Dynamics::AX::Application::InteropKind _kind);
public void newmethod (Dynamics.AX.Application.InteropKind _kind);
override this.newmethod : Dynamics.AX.Application.InteropKind -> unit
Public Sub newmethod (_kind As InteropKind)
Parameters
- _kind
- InteropKind
An InteropKind system enumeration value that specifies access to managed or unmanaged code.
Remarks
The following code example shows a new instance of the InteropPermission class that specifies access to Win32 DLLs.
server static void main(Args args)
{
InteropPermission _perm;
_perm = new InteropPermission(InteropKind::DllInterop);
}