Skip to content

ContentDialog.ShowAsync(CancellationToken) method

Defined in

Type: ContentDialog Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public Task<ContentDialogResult> ShowAsync(CancellationToken cancellationToken = default(CancellationToken))

Summary: Shows the dialog.

Parameters

NameTypeDescription
cancellationToken = nullCancellationTokenThe cancellation token.

Returns: Task -- A ContentDialogResult.

Exceptions

TypeCondition
System.InvalidOperationExceptionContentPresenter is not set.