AutomationProxyAttribute Class
Specifies whether the type should be marshaled using the Automation marshaler or a custom proxy and stub.
For a list of all members of this type, see AutomationProxyAttribute Members.
System.Object
System.Attribute
System.Runtime.InteropServices.AutomationProxyAttribute
[Visual Basic] <AttributeUsage(AttributeTargets.Assembly Or AttributeTargets.Class _ Or AttributeTargets.Interface)> NotInheritable Public Class AutomationProxyAttribute Inherits Attribute [C#] [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Interface)] public sealed class AutomationProxyAttribute : Attribute [C++] [AttributeUsage(AttributeTargets::Assembly | AttributeTargets::Class | AttributeTargets::Interface)] public __gc __sealed class AutomationProxyAttribute : public Attribute [JScript] public AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Interface) class AutomationProxyAttribute extends Attribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
You can apply this attribute to assemblies, classes, or interfaces.
When applied to a class, it extends to the class interface for that class, if present.
Requirements
Namespace: System.Runtime.InteropServices
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
AutomationProxyAttribute Members | System.Runtime.InteropServices Namespace