public void BeginTrack() { ThreadHelper.JoinableTaskFactory.Run(async() => { await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(); RunningDocumentTable.AdviseRunningDocTableEvents(this, out _cookie); }); }
private void ConnectRunningDocumentTable() { ThreadHelper.ThrowIfNotOnUIThread(); if (_runningDocTableEventCookie == 0) { RunningDocumentTable?.AdviseRunningDocTableEvents(this, out _runningDocTableEventCookie); } }
public void BeginTrack() { RunningDocumentTable.AdviseRunningDocTableEvents(this, out _cookie); }
private void InitializeRunningDocumentTable() { RunningDocumentTable?.AdviseRunningDocTableEvents(this, out _runningDocumentTableCookie); }