TrySetTextAsync(ReadOnlyMemory, Int32, CancellationToken) Method

Definition

Assembly XenoAtom.Terminal.dll

Tries to set clipboard text asynchronously (best effort).

[AsyncStateMachine(typeof(TerminalClipboard. < TrySetTextAsync > d__14))]
public ValueTask<bool> TrySetTextAsync(ReadOnlyMemory<char> text, int timeoutMs = 1000, CancellationToken cancellationToken = default(CancellationToken))

Parameters

timeoutMs
Int32
cancellationToken
CancellationToken

Returns