CrossThreadNotificationQueue<TSource, TTarget> Constructor (Func<TSource, TTarget>, Dispatcher)
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
converter As Func(Of TSource, TTarget), _
viewDispatcher As Dispatcher _
)
public CrossThreadNotificationQueue(
Func<TSource, TTarget> converter,
Dispatcher viewDispatcher
)
public:
CrossThreadNotificationQueue(
Func<TSource, TTarget>^ converter,
Dispatcher^ viewDispatcher
)
new :
converter:Func<'TSource, 'TTarget> *
viewDispatcher:Dispatcher -> CrossThreadNotificationQueue
public function CrossThreadNotificationQueue(
converter : Func<TSource, TTarget>,
viewDispatcher : Dispatcher
)
Parameters
- converter
Type: System.Func<TSource, TTarget>
- viewDispatcher
Type: System.Windows.Threading.Dispatcher
.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.
See Also
Reference
CrossThreadNotificationQueue<TSource, TTarget> Class