다음을 통해 공유


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
    이 예외가 throw된 원인인 예외입니다.

참고 항목

참조

ODataContentTypeException 클래스

ODataContentTypeException 오버로드

Microsoft.Data.OData 네임스페이스