Facet Class
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.
A facet containing additional statistics on the response of a query. Can be either FacetResult or FacetError. Please note Facet is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include FacetError and FacetResult.
public abstract class Facet
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ResourceGraph.Models.UnknownFacet))]
public abstract class Facet : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ResourceGraph.Models.Facet>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ResourceGraph.Models.Facet>
type Facet = class
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ResourceGraph.Models.UnknownFacet))>]
type Facet = class
interface IJsonModel<Facet>
interface IPersistableModel<Facet>
Public MustInherit Class Facet
Public MustInherit Class Facet
Implements IJsonModel(Of Facet), IPersistableModel(Of Facet)
- Inheritance
-
Facet
- Derived
- Attributes
- Implements
Constructors
Facet(String) |
Initializes a new instance of Facet. |
Properties
Expression |
Facet expression, same as in the corresponding facet request. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<Facet>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<Facet>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<Facet>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<Facet>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<Facet>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET