ShareOperation.DismissUI | dismissUI method

Applies to Windows only

Closes the share pane.

Syntax


shareOperation.dismissUI();

Parameters

This method has no parameters.

Remarks

Call the DismissUI method to dismiss the share pane programmatically. Calling DismissUI is similar to the user dismissing the share pane by tapping away from it. If the share operation takes a long time, the app continues to run in the background. If the operation isn't long-running, it has 10 seconds to run before being terminated.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.ApplicationModel.DataTransfer.ShareTarget
Windows::ApplicationModel::DataTransfer::ShareTarget [C++]

Metadata

Windows.winmd

See also

ShareOperation

 

 

Show:
© 2014 Microsoft