SuppressUnmanagedCodeSecurityAttribute (System.Security.SuppressUnmanagedCodeSecurityAttribute)

Inherits: System.Attribute

Interfaces: _Attribute

Derived Types: 0

Assembly: mscorlib.dll

Allows managed code to call into unmanaged code without a stack walk. This class cannot be inherited.

VB.NET C#

C#

public sealed class SuppressUnmanagedCodeSecurityAttribute : System.Attribute, System.Runtime.InteropServices._Attribute
{
}

Articles

blogs.msdn.com

DllImport("KERNEL32"), System.Security.SuppressUnmanagedCodeSecurityAttribute()] private static extern int QueryPerformanceCounter(out long time)

A peek at Longhorn: how TxF integrates

System.Runtime.InteropServices.DllImport("kernel32"), System.Security.SuppressUnmanagedCodeSecurityAttribute()] internal static extern bool EnterTransactionScope(

Why can't System.Security.SuppressUnmanagedCodeSecurityAttribute be ...

Q. Any idea why the System.Security.SuppressUnmanagedCodeSecurityAttribute cannot be applied to structs? Asked by Kevin Lanos. Answered by the Wonk on March 5, 2003

Mono Documentation

See Also: SuppressUnmanagedCodeSecurityAttribute Members. System.Object System.Attribute System.Security.SuppressUnmanagedCodeSecurityAttribute

Mono Documentation

The members of System.Security.SuppressUnmanagedCodeSecurityAttribute are listed below. See Also: Inherited members from System.Attribute [ ...

Move pinvokes to native methods class

SafeNativeMethods - This class suppresses stack walks for unmanaged code permission. ( System.Security.SuppressUnmanagedCodeSecurityAttribute is applied to this class.

SuppressUnmanagedCodeSecurityAttribute Class

Allows managed code to call into unmanaged code without a stack walk. This class cannot be inherited. For a list of all members of this type, see ...

Custom .NET Training ASP.NET Training Silverlight Training LINQ Training IT Support