Share via


PreviewOperation.GetPreviewAsync(CancellationToken) Method

Definition

Gets a custom preview control for the operation. If preview is null and Title is non-null, then Title is used to generate the preview.

public:
 abstract System::Threading::Tasks::Task<System::Object ^> ^ GetPreviewAsync(System::Threading::CancellationToken cancellationToken);
public abstract System.Threading.Tasks.Task<object> GetPreviewAsync (System.Threading.CancellationToken cancellationToken);
public abstract System.Threading.Tasks.Task<object?> GetPreviewAsync (System.Threading.CancellationToken cancellationToken);
abstract member GetPreviewAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<obj>
Public MustOverride Function GetPreviewAsync (cancellationToken As CancellationToken) As Task(Of Object)

Parameters

cancellationToken
CancellationToken

Returns

Applies to