次の方法で共有


IAsyncCompletionSession.CommitIfUnique(CancellationToken) Method

Definition

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

Applies to