ODataMessageWriter.WriteError 메서드
ODataError를 메시지 페이로드로 씁니다.
네임스페이스: Microsoft.Data.OData
어셈블리: Microsoft.Data.OData(Microsoft.Data.OData.dll)
구문
‘선언
Public Sub WriteError ( _
error As ODataError, _
includeDebugInformation As Boolean _
)
‘사용 방법
Dim instance As ODataMessageWriter
Dim error As ODataError
Dim includeDebugInformation As Boolean
instance.WriteError(error, includeDebugInformation)
public void WriteError(
ODataError error,
bool includeDebugInformation
)
public:
void WriteError(
ODataError^ error,
bool includeDebugInformation
)
member WriteError :
error:ODataError *
includeDebugInformation:bool -> unit
public function WriteError(
error : ODataError,
includeDebugInformation : boolean
)
매개 변수
- error
유형: Microsoft.Data.OData.ODataError
작성할 오류입니다.
- includeDebugInformation
유형: System.Boolean
디버그 정보(예: error의 내부 오류)를 페이로드에 포함해야 하는지 여부를 나타내는 플래그입니다.디버그 시나리오에만 사용해야 합니다.