RelayCommand Constructor (Action)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a new command that can always execute.
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
execute As Action _
)
public RelayCommand(
Action execute
)
public:
RelayCommand(
Action^ execute
)
new :
execute:Action -> RelayCommand
public function RelayCommand(
execute : Action
)
Parameters
execute
Type: System.ActionThe execution logic.
.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.