Create Method (DispatcherQueue, Application)
Microsoft Robotics Class Reference
Creates a new WPF adapter.
Namespace: Microsoft.Ccr.Adapters.Wpf
Assembly: Microsoft.Ccr.Adapters.Wpf (in Microsoft.Ccr.Adapters.Wpf.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
public static WpfServicePort Create(
DispatcherQueue taskQueue,
Application application
)
Parameters
- taskQueue
Type: Microsoft.Ccr.Core. . :: . .DispatcherQueue
The task queue that on which to activate the adapter
application
Type: System.Windows. . :: . .Application
The WPF application instance in which to execute the operation.Remarks
If the value is CopyC#
null
the current application of the appdomain is used. If the current application has not been initialized the default application implementation is used.
Return Value
service port of the WPF adapter