다음을 통해 공유


WorkflowServiceAttributes.IncludeExceptionDetailInFaults 속성

정의

일반적인 처리되지 않은 실행 예외를 FaultException 형식의 ExceptionDetail으로 변환하고 오류 메시지로 보내도록 지정하는 값을 가져오거나 설정합니다. 서비스 문제를 해결하려면 개발하는 동안에만 이 값을 true로 설정합니다.

public:
 property bool IncludeExceptionDetailInFaults { bool get(); void set(bool value); };
public bool IncludeExceptionDetailInFaults { get; set; }
member this.IncludeExceptionDetailInFaults : bool with get, set
Public Property IncludeExceptionDetailInFaults As Boolean

속성 값

Boolean

처리되지 않은 예외가 SOAP 오류로 반환되면 true이고, 그렇지 않을 경우 false입니다.

예제

다음 예제에서는 IncludeExceptionDetailInFaults 속성에 액세스하는 방법을 보여 줍니다.

WorkflowServiceAttributes attributes = new WorkflowServiceAttributes();
attributes.IncludeExceptionDetailInFaults = true;
Dim attributes As New WorkflowServiceAttributes()
attributes.IncludeExceptionDetailInFaults = True

설명

기본값은 false입니다.

적용 대상