RiskCategory Struct
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.
Risk category for the attack objective.
public readonly struct RiskCategory : IEquatable<Azure.AI.Projects.RiskCategory>
type RiskCategory = struct
Public Structure RiskCategory
Implements IEquatable(Of RiskCategory)
- Inheritance
-
RiskCategory
- Implements
Constructors
| Name | Description |
|---|---|
| RiskCategory(String) |
Initializes a new instance of RiskCategory. |
Properties
| Name | Description |
|---|---|
| CodeVulnerability |
Represents content that contains vulnerabilities in code. |
| HateUnfairness |
Represents content related to hate or unfairness. |
| ProhibitedActions |
Represents content that involves prohibited actions. |
| ProtectedMaterial |
Represents content that involves illegal activities. |
| SelfHarm |
Represents content related to self-harm. |
| SensitiveDataLeakage |
Represents content that involves sensitive data leakage. |
| Sexual |
Represents content of a sexual nature. |
| TaskAdherence |
Represents content that involves task adherence. |
| UngroundedAttributes |
Represents content that lacks a solid grounding in fact. |
| Violence |
Represents content related to violence. |
Methods
| Name | Description |
|---|---|
| Equals(RiskCategory) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(RiskCategory, RiskCategory) |
Determines if two RiskCategory values are the same. |
| Implicit(String to Nullable<RiskCategory>) | |
| Implicit(String to RiskCategory) |
Converts a string to a RiskCategory. |
| Inequality(RiskCategory, RiskCategory) |
Determines if two RiskCategory values are not the same. |