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

  • application
    Type: System.Windows. . :: . .Application
    The WPF application instance in which to execute the operation.

    Remarks

    If the value is Dd191623.CopyCode(en-us,MSDN.10).gifCopyC#

    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

See Also

WpfAdapter Class

Create Overload

Microsoft.Ccr.Adapters.Wpf Namespace