Dela via


TextAnalyticsModelFactory.ExtractKeyPhrasesActionResult Method

Definition

Overloads

ExtractKeyPhrasesActionResult(ExtractKeyPhrasesResultCollection, String, DateTimeOffset)

Initializes a new instance of ExtractKeyPhrasesActionResult for mocking purposes.

ExtractKeyPhrasesActionResult(String, DateTimeOffset, String, String)

Initializes a new instance of ExtractKeyPhrasesActionResult for mocking purposes.

ExtractKeyPhrasesActionResult(ExtractKeyPhrasesResultCollection, String, DateTimeOffset)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of ExtractKeyPhrasesActionResult for mocking purposes.

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

Parameters

actionName
String

Sets the ActionName property.

completedOn
DateTimeOffset

Sets the CompletedOn property.

Returns

A new instance of ExtractKeyPhrasesActionResult for mocking purposes.

Applies to

ExtractKeyPhrasesActionResult(String, DateTimeOffset, String, String)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of ExtractKeyPhrasesActionResult for mocking purposes.

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

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 ExtractKeyPhrasesActionResult for mocking purposes.

Applies to