Share via


HeaderField Class

Definition

A header to add to the WebTest.

public class HeaderField : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApplicationInsights.Models.HeaderField>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApplicationInsights.Models.HeaderField>
type HeaderField = class
    interface IJsonModel<HeaderField>
    interface IPersistableModel<HeaderField>
Public Class HeaderField
Implements IJsonModel(Of HeaderField), IPersistableModel(Of HeaderField)
Inheritance
HeaderField
Implements

Constructors

HeaderField()

Initializes a new instance of HeaderField.

Properties

HeaderFieldName

The name of the header.

HeaderFieldValue

The value of the header.

Explicit Interface Implementations

IJsonModel<HeaderField>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HeaderField>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HeaderField>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HeaderField>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HeaderField>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to