Share via


LoggingOptions.RequestBodyContentTypes 属性

定义

获取或设置 HTTP 请求内容类型的列表,这些内容类型被视为文本,因此可以序列化。

public:
 property System::Collections::Generic::ISet<System::String ^> ^ RequestBodyContentTypes { System::Collections::Generic::ISet<System::String ^> ^ get(); void set(System::Collections::Generic::ISet<System::String ^> ^ value); };
[System.ComponentModel.DataAnnotations.Required]
public System.Collections.Generic.ISet<string> RequestBodyContentTypes { get; set; }
[<System.ComponentModel.DataAnnotations.Required>]
member this.RequestBodyContentTypes : System.Collections.Generic.ISet<string> with get, set
Public Property RequestBodyContentTypes As ISet(Of String)

属性值

属性

适用于