TaskComment(String, DiscoveryActorType, String) Constructor
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.
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.