ODataErrorException 생성자 (String, Exception, ODataError)
오류 메시지, 내부 예외 및 ODataError 개체를 사용하여 ODataErrorException 클래스의 새 인스턴스를 만듭니다.
네임스페이스: Microsoft.Data.OData
어셈블리: Microsoft.Data.OData(Microsoft.Data.OData.dll)
구문
‘선언
Public Sub New ( _
message As String, _
innerException As Exception, _
error As ODataError _
)
‘사용 방법
Dim message As String
Dim innerException As Exception
Dim error As ODataError
Dim instance As New ODataErrorException(message, _
innerException, error)
public ODataErrorException(
string message,
Exception innerException,
ODataError error
)
public:
ODataErrorException(
String^ message,
Exception^ innerException,
ODataError^ error
)
new :
message:string *
innerException:Exception *
error:ODataError -> ODataErrorException
public function ODataErrorException(
message : String,
innerException : Exception,
error : ODataError
)
매개 변수
- message
유형: System.String
이 예외에 대한 일반 텍스트 오류 메시지입니다.
- innerException
유형: System.Exception
이 예외를 throw하는 원인이 되는 내부 예외입니다.
- error
유형: Microsoft.Data.OData.ODataError
페이로드에서 읽은 오류를 나타내는 ODataError 인스턴스입니다.