public final class TextAnalyticsWarning extends Object
TextAnalyticsWarning
model.Constructor and Description |
---|
TextAnalyticsWarning(WarningCode warningCode,
String message)
Creates a
TextAnalyticsWarning model that describes text analytics warning. |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Get the message property: Warning message.
|
WarningCode |
getWarningCode()
Get the warning code property: warning code, such as 'LongWordsInDocument'.
|
public TextAnalyticsWarning(WarningCode warningCode, String message)
TextAnalyticsWarning
model that describes text analytics warning.warningCode
- The warning code valuemessage
- The warning message.public WarningCode getWarningCode()
public String getMessage()
Copyright © 2021 Microsoft Corporation. All rights reserved.