IAsyncCompletionSession.CommitIfUnique(CancellationToken) 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.
Commits the single CompletionItem or opens the completion UI. Must be called on UI thread.
public:
bool CommitIfUnique(System::Threading::CancellationToken token);
public bool CommitIfUnique (System.Threading.CancellationToken token);
abstract member CommitIfUnique : System.Threading.CancellationToken -> bool
Public Function CommitIfUnique (token As CancellationToken) As Boolean
Parameters
- token
- CancellationToken
Token used to cancel this operation
Returns
true
if the unique item was committed