ClaimedSlipPrinter.RemoveSlipAsync(TimeSpan) 方法

定义

等待用户从单据打印机站中删除单据。

public:
 virtual IAsyncOperation<bool> ^ RemoveSlipAsync(TimeSpan timeout) = RemoveSlipAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> RemoveSlipAsync(TimeSpan const& timeout);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> RemoveSlipAsync(System.TimeSpan timeout);
function removeSlipAsync(timeout)
Public Function RemoveSlipAsync (timeout As TimeSpan) As IAsyncOperation(Of Boolean)

参数

timeout
TimeSpan TimeSpan

操作在退出之前应等待用户删除该滑点的时间间隔。

返回

一个异步操作,如果用户删除指定时间范围内的单据,则返回 true,否则返回 false。

属性

适用于