DiscoveryModelFactory.TaskComment Method

Definition

Task comment.

public static Azure.AI.Discovery.TaskComment TaskComment(DateTimeOffset? timestamp = default, string createdBy = default, Azure.AI.Discovery.DiscoveryActorType createdByType = default, string text = default);
static member TaskComment : Nullable<DateTimeOffset> * string * Azure.AI.Discovery.DiscoveryActorType * string -> Azure.AI.Discovery.TaskComment
Public Shared Function TaskComment (Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional createdBy As String = Nothing, Optional createdByType As DiscoveryActorType = Nothing, Optional text As String = Nothing) As TaskComment

Parameters

timestamp
Nullable<DateTimeOffset>

When the comment was created.

createdBy
String

ID of the user or application who created the comment.

createdByType
DiscoveryActorType

Type of creator (User, Application, System, or custom type).

text
String

The comment text content.

Returns

A new TaskComment instance for mocking.

Applies to