Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the DynamicStatusMenuCommand class.
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
    statusHandler As EventHandler, _
    invokeHandler As EventHandler, _
    id As CommandID _
)
public DynamicStatusMenuCommand(
    EventHandler statusHandler,
    EventHandler invokeHandler,
    CommandID id
)
public:
DynamicStatusMenuCommand(
    EventHandler^ statusHandler, 
    EventHandler^ invokeHandler, 
    CommandID^ id
)
new : 
        statusHandler:EventHandler * 
        invokeHandler:EventHandler * 
        id:CommandID -> DynamicStatusMenuCommand
public function DynamicStatusMenuCommand(
    statusHandler : EventHandler, 
    invokeHandler : EventHandler, 
    id : CommandID
)
Parameters
- statusHandler 
 Type: System.EventHandler- The event handler that is called when the menu command status must be updated. 
- invokeHandler 
 Type: System.EventHandler- The event handler that is called when the menu command is invoked. 
- id 
 Type: System.ComponentModel.Design.CommandID- The command ID for the menu command. 
.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.