RetrievePlatformValueRequest<T>.TrySetResult(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.