コード例 #1
0
 public void EndTrack()
 {
     ThreadHelper.JoinableTaskFactory.Run(async() =>
     {
         await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();
         RunningDocumentTable.UnadviseRunningDocTableEvents(_cookie);
     });
 }
コード例 #2
0
        private void DisconnectRunningDocumentTable()
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            if (_runningDocTableEventCookie != 0)
            {
                RunningDocumentTable?.UnadviseRunningDocTableEvents(_runningDocTableEventCookie);
                _runningDocTableEventCookie = 0;
            }
        }
コード例 #3
0
 public void EndTrack()
 {
     RunningDocumentTable.UnadviseRunningDocTableEvents(_cookie);
 }