TraySetEngineAsync Method |
IT Hit User File System
Associates Engine with Tray and starts listening to Engine events. Engine executes Tray commands.
The tray connects to ItemsProgress, ItemsChanged, StateChanged events and reflects changes in its UI.
If null is passed, the Engine and Tray are disassociated.
Namespace:
ITHit.FileSystem.Windows.WinUI
Assembly:
ITHit.FileSystem.Windows.WinUI (in ITHit.FileSystem.Windows.WinUI.dll) Version: 9.0.29481.0-Beta
Syntaxpublic Task SetEngineAsync(
EngineWindows engine,
Dictionary<string, string> compareSettings
)
Public Function SetEngineAsync (
engine As EngineWindows,
compareSettings As Dictionary(Of String, String)
) As Task
public:
Task^ SetEngineAsync(
EngineWindows^ engine,
Dictionary<String^, String^>^ compareSettings
)
member SetEngineAsync :
engine : EngineWindows *
compareSettings : Dictionary<string, string> -> Task
Parameters
- engine
- Type: ITHit.FileSystem.WindowsEngineWindows
Engine instanse to assign to the window. - compareSettings
- Type: System.Collections.GenericDictionaryString, String
Compare setting dictionary of the engine.
Return Value
Type:
TaskAwaitable task.
See Also