ShareWindowCommandSource.ReportCommandChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates to the Windows Shell that the sharing state of your communications app has changed.
Call this method whenever your communications app's sharing state changes. If you successfully share a new window in a call or meeting, or you remove an already shared window (whether that's via your own UI, or triggered by a Windows Taskbar action), you must notify your ShareWindowCommandSource instance of that change by calling ReportCommandChanged.
The Shell will then flush any information it has received as part of any ShareWindowCommandSource.CommandRequested event, and will update its visible share commands to match the current state of your app.
public:
virtual void ReportCommandChanged() = ReportCommandChanged;
void ReportCommandChanged();
public void ReportCommandChanged();
function reportCommandChanged()
Public Sub ReportCommandChanged ()