次の方法で共有


ODataContentTypeException コンストラクター (String, Exception)

ODataContentTypeException クラスの新しいインスタンスを作成します。

名前空間:  Microsoft.Data.OData
アセンブリ:  Microsoft.Data.OData (Microsoft.Data.OData.dll)

構文

'宣言
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'使用
Dim message As String
Dim innerException As Exception

Dim instance As New ODataContentTypeException(message, _
    innerException)
public ODataContentTypeException(
    string message,
    Exception innerException
)
public:
ODataContentTypeException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ODataContentTypeException
public function ODataContentTypeException(
    message : String, 
    innerException : Exception
)

パラメーター

  • message
    型: System.String
    この例外のプレーンテキスト エラー メッセージ。
  • innerException
    型: System.Exception
    スローされるこの例外の原因となった例外。

関連項目

参照

ODataContentTypeException クラス

ODataContentTypeException オーバーロード

Microsoft.Data.OData 名前空間