WindowViewModel Constructor (Dispatcher, ViewModelBase)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
dispatcher As Dispatcher, _
parentViewModel As ViewModelBase _
)
public WindowViewModel(
Dispatcher dispatcher,
ViewModelBase parentViewModel
)
public:
WindowViewModel(
Dispatcher^ dispatcher,
ViewModelBase^ parentViewModel
)
new :
dispatcher:Dispatcher *
parentViewModel:ViewModelBase -> WindowViewModel
public function WindowViewModel(
dispatcher : Dispatcher,
parentViewModel : ViewModelBase
)
Parameters
- dispatcher
Type: System.Windows.Threading.Dispatcher
- parentViewModel
Type: Microsoft.TeamFoundation.MVVM.ViewModelBase
.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.