Sdílet prostřednictvím


RetrievePlatformValueRequest<T>.TrySetResult(T) Method

Definition

Attempts to set the result value of the retrieval operation.

public:
 bool TrySetResult(T result);
public bool TrySetResult (T result);
member this.TrySetResult : 'T -> bool
Public Function TrySetResult (result As T) As Boolean

Parameters

result
T

The result value to set on this request.

Returns

true if the operation was successful; otherwise, false.

Applies to