TaskComment(String, DiscoveryActorType, String) Constructor

Definition

Initializes a new instance of TaskComment.

public TaskComment(string createdBy, Azure.AI.Discovery.DiscoveryActorType createdByType, string text);
new Azure.AI.Discovery.TaskComment : string * Azure.AI.Discovery.DiscoveryActorType * string -> Azure.AI.Discovery.TaskComment
Public Sub New (createdBy As String, createdByType As DiscoveryActorType, text As String)

Parameters

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.

Exceptions

createdBy or text is null.

Applies to