ODataErrorException 생성자 (String, Exception)
오류 메시지 및 내부 예외를 사용하여 ODataErrorException 클래스의 새 인스턴스를 만듭니다.
네임스페이스: 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 ODataErrorException(message, _
innerException)
public ODataErrorException(
string message,
Exception innerException
)
public:
ODataErrorException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> ODataErrorException
public function ODataErrorException(
message : String,
innerException : Exception
)
매개 변수
- message
유형: System.String
이 예외에 대한 일반 텍스트 오류 메시지입니다.
- innerException
유형: System.Exception
이 예외를 throw하는 원인이 되는 내부 예외입니다.
주의
빈 ODataError 인스턴스를 사용하여 Error 속성을 초기화합니다.