DiscoveryModelFactory.TaskResult 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.
Task execution result.
public static Azure.AI.Discovery.TaskResult TaskResult(string text = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> storageAssetIds = default);
static member TaskResult : string * seq<Azure.Core.ResourceIdentifier> -> Azure.AI.Discovery.TaskResult
Public Shared Function TaskResult (Optional text As String = Nothing, Optional storageAssetIds As IEnumerable(Of ResourceIdentifier) = Nothing) As TaskResult
Parameters
- text
- String
The text content of the task result.
- storageAssetIds
- IEnumerable<ResourceIdentifier>
Array of storage asset identifiers related to the result.
Returns
A new TaskResult instance for mocking.