ODataContentTypeException 构造函数 (String)

创建 ODataContentTypeException 类的新实例。

命名空间:  Microsoft.Data.OData
程序集:  Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)

语法

声明
Public Sub New ( _
    message As String _
)
用法
Dim message As String

Dim instance As New ODataContentTypeException(message)
public ODataContentTypeException(
    string message
)
public:
ODataContentTypeException(
    String^ message
)
new : 
        message:string -> ODataContentTypeException
public function ODataContentTypeException(
    message : String
)

参数

  • message
    类型:System.String
    此异常的纯文本错误消息。

请参阅

参考

ODataContentTypeException 类

ODataContentTypeException 重载

Microsoft.Data.OData 命名空间