A Sandcastle Documented Class Library
WriteBLogicErrorResponseHeader Method (response, errorType)
NamespacesTERASOLUNA.Fw.Web.ControllerBLogicRequestControllerWriteBLogicErrorResponseHeader(HttpResponse, String)
業務エラー時のレスポンスヘッダ情報を設定します。
Declaration Syntax
C#Visual BasicVisual C++
protected virtual void WriteBLogicErrorResponseHeader(
	HttpResponse response,
	string errorType
)
Protected Overridable Sub WriteBLogicErrorResponseHeader ( _
	response As HttpResponse, _
	errorType As String _
)
protected:
virtual void WriteBLogicErrorResponseHeader(
	HttpResponse^ response, 
	String^ errorType
)
Parameters
response (HttpResponse)
ヘッダの設定対象となる HttpResponse
errorType (String)
エラー種別。
Remarks
次の項目をヘッダに設定します。
ヘッダ名称 設定値
content-type
text/xml; charset=utf-8
exception
errorType に指定された値を設定します。
ステータス文字列
OK
Exceptions
ExceptionCondition
TerasolunaException ビジネスロジックでエラーが設定されていますが、ResultStringにエラー種別が設定されていません。

Assembly: TERASOLUNA.Fw.Web (Module: TERASOLUNA.Fw.Web) Version: 2.1.0.1 (2.1.0.1)