共用方式為


SentimentAnalysisOperationAction Class

Definition

An object representing the task definition for a Sentiment Analysis task.

public class SentimentAnalysisOperationAction : Azure.AI.Language.Text.AnalyzeTextOperationAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.SentimentAnalysisOperationAction>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.SentimentAnalysisOperationAction>
type SentimentAnalysisOperationAction = class
    inherit AnalyzeTextOperationAction
    interface IJsonModel<SentimentAnalysisOperationAction>
    interface IPersistableModel<SentimentAnalysisOperationAction>
Public Class SentimentAnalysisOperationAction
Inherits AnalyzeTextOperationAction
Implements IJsonModel(Of SentimentAnalysisOperationAction), IPersistableModel(Of SentimentAnalysisOperationAction)
Inheritance
SentimentAnalysisOperationAction
Implements

Constructors

SentimentAnalysisOperationAction()

Initializes a new instance of SentimentAnalysisOperationAction.

Properties

ActionContent

Parameters for the Sentiment Analysis task.

Name

task name.

(Inherited from AnalyzeTextOperationAction)

Explicit Interface Implementations

IJsonModel<AnalyzeTextOperationAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from AnalyzeTextOperationAction)
IJsonModel<AnalyzeTextOperationAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from AnalyzeTextOperationAction)
IJsonModel<SentimentAnalysisOperationAction>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SentimentAnalysisOperationAction>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AnalyzeTextOperationAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from AnalyzeTextOperationAction)
IPersistableModel<AnalyzeTextOperationAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from AnalyzeTextOperationAction)
IPersistableModel<AnalyzeTextOperationAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from AnalyzeTextOperationAction)
IPersistableModel<SentimentAnalysisOperationAction>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SentimentAnalysisOperationAction>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SentimentAnalysisOperationAction>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to