Create Method (DispatcherQueue, Port(Exception))
Microsoft Robotics Class Reference
Creates a new service and returns a port over which to interact with it.
Namespace: Microsoft.Ccr.Adapters.WinForms
Assembly: Microsoft.Ccr.Adapters.WinForms (in Microsoft.Ccr.Adapters.WinForms.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
public static WinFormsServicePort Create(
DispatcherQueue dispatcherQueue,
out Port<Exception> threadExceptions
)
Parameters
- dispatcherQueue
Type: Microsoft.Ccr.Core. . :: . .DispatcherQueue
Dispatcher on which to run service code.
- threadExceptions
Type: Microsoft.Ccr.Core. . :: . .Port< (Of < ( <'Exception> ) > ) >%
Port to which unhandled WinForms thread exceptions will be posted.
Return Value
Port through which to interact with the new service.