Share via


HandleExceptionArgs.ResponseContentType 属性

定义

获取响应内容类型。

public:
 property System::String ^ ResponseContentType { System::String ^ get(); };
public string ResponseContentType { get; }
member this.ResponseContentType : string
Public ReadOnly Property ResponseContentType As String

属性值

用于指示响应格式的字符串值。

注解

所有错误都会导致从服务发送回错误有效负载。 此属性通知服务作者将发送回的错误的格式。 此属性的值始终是有效的 Internet 号码分配机构 (IANA) mime 类型。

适用于