ClaimedSlipPrinter.InsertSlipAsync(TimeSpan) Method

Definition

Waits for the user to insert a slip into the slip printer station.

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

Parameters

timeout
TimeSpan TimeSpan

The interval of time that the operation should wait for the user to insert the slip before exiting.

Returns

An asynchronous operation that returns true if the user inserts the slip within the specified time span, and returns false otherwise.

Attributes

Applies to

See also