Share via


HostEventAttribute Class (2007 System)

Relates an event in a proxy type to an event in the host application.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class HostEventAttribute _
    Inherits Attribute
'Usage
Dim instance As HostEventAttribute
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class HostEventAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false, Inherited = false)]
public ref class HostEventAttribute sealed : public Attribute
public final class HostEventAttribute extends Attribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.Tools.Applications.Runtime.HostEventAttribute

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.

See Also

Reference

HostEventAttribute Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace