你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebTestContentValidation 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.
The collection of content validation properties.
public class WebTestContentValidation : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApplicationInsights.Models.WebTestContentValidation>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApplicationInsights.Models.WebTestContentValidation>
type WebTestContentValidation = class
interface IJsonModel<WebTestContentValidation>
interface IPersistableModel<WebTestContentValidation>
Public Class WebTestContentValidation
Implements IJsonModel(Of WebTestContentValidation), IPersistableModel(Of WebTestContentValidation)
- Inheritance
-
WebTestContentValidation
- Implements
Constructors
WebTestContentValidation() |
Initializes a new instance of WebTestContentValidation. |
Properties
ContentMatch |
Content to look for in the return of the WebTest. Must not be null or empty. |
IgnoreCase |
When set, this value makes the ContentMatch validation case insensitive. |
PassIfTextFound |
When true, validation will pass if there is a match for the ContentMatch string. If false, validation will fail if there is a match. |
Explicit Interface Implementations
IJsonModel<WebTestContentValidation>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<WebTestContentValidation>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<WebTestContentValidation>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<WebTestContentValidation>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<WebTestContentValidation>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |