Share via


RepresentationContract Klasse

Definition

Details zur Vorgangsanforderungs-/Antwortdarstellung.

public class RepresentationContract
type RepresentationContract = class
Public Class RepresentationContract
Vererbung
RepresentationContract

Konstruktoren

RepresentationContract(String)

Initialisiert eine neue instance von RepresentationContract.

Eigenschaften

ContentType

Gibt einen registrierten oder benutzerdefinierten Inhaltstyp für diese Darstellung an, z. B. application/xml.

Examples

Beispiel, das für die Darstellung definiert ist.

FormParameters

Sammlung von Formularparametern. Erforderlich, wenn der Wert "contentType" entweder "application/x-www-form-urlencoded" oder "multipart/form-data" ist.

SchemaId

Schemabezeichner. Gilt nur, wenn der Wert "contentType" weder "application/x-www-form-urlencoded" noch "multipart/form-data" ist.

TypeName

Geben Sie den vom Schema definierten Namen ein. Gilt nur, wenn der Wert "contentType" weder "application/x-www-form-urlencoded" noch "multipart/form-data" ist.

Gilt für: