HostEventAttribute Constructor
Initializes a new instance of the HostEventAttribute class.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
dispId As Integer _
)
public HostEventAttribute(
int dispId
)
Parameters
dispId
Type: System.Int32For COM events only. The dispatch ID of the COM event for which the event marked with this HostEventAttribute is a proxy.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.