Share via


TextAnalyticsModelFactory.ExtractiveSummarizeActionResult Method

Definition

Overloads

ExtractiveSummarizeActionResult(ExtractiveSummarizeResultCollection, String, DateTimeOffset)

Initializes a new instance of ExtractiveSummarizeActionResult for mocking purposes.

ExtractiveSummarizeActionResult(String, DateTimeOffset, String, String)

Initializes a new instance of ExtractiveSummarizeActionResult for mocking purposes.

ExtractiveSummarizeActionResult(ExtractiveSummarizeResultCollection, String, DateTimeOffset)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of ExtractiveSummarizeActionResult for mocking purposes.

public static Azure.AI.TextAnalytics.ExtractiveSummarizeActionResult ExtractiveSummarizeActionResult (Azure.AI.TextAnalytics.ExtractiveSummarizeResultCollection result, string actionName, DateTimeOffset completedOn);
static member ExtractiveSummarizeActionResult : Azure.AI.TextAnalytics.ExtractiveSummarizeResultCollection * string * DateTimeOffset -> Azure.AI.TextAnalytics.ExtractiveSummarizeActionResult
Public Shared Function ExtractiveSummarizeActionResult (result As ExtractiveSummarizeResultCollection, actionName As String, completedOn As DateTimeOffset) As ExtractiveSummarizeActionResult

Parameters

actionName
String

Sets the ActionName property.

completedOn
DateTimeOffset

Sets the CompletedOn property.

Returns

A new instance of ExtractiveSummarizeActionResult for mocking purposes.

Applies to

ExtractiveSummarizeActionResult(String, DateTimeOffset, String, String)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of ExtractiveSummarizeActionResult for mocking purposes.

public static Azure.AI.TextAnalytics.ExtractiveSummarizeActionResult ExtractiveSummarizeActionResult (string actionName, DateTimeOffset completedOn, string code, string message);
static member ExtractiveSummarizeActionResult : string * DateTimeOffset * string * string -> Azure.AI.TextAnalytics.ExtractiveSummarizeActionResult
Public Shared Function ExtractiveSummarizeActionResult (actionName As String, completedOn As DateTimeOffset, code As String, message As String) As ExtractiveSummarizeActionResult

Parameters

actionName
String

Sets the ActionName property.

completedOn
DateTimeOffset

Sets the CompletedOn property.

code
String

Sets the ErrorCode property.

message
String

Sets the Message property.

Returns

A new instance of ExtractiveSummarizeActionResult for mocking purposes.

Applies to