0
일부 사용자의 선택에 따라 워크 플로 서비스를 개발하는 ASP .NET 프로젝트에서 작업하고 있습니다. 사용자가 적절한 단계를 수행하면 순서도가 생성됩니다. 이 순서도는 다음 코드로 끝나는 워크 플로 서비스 본문에 추가됩니다.프로그래밍 방식으로 워크 플로 서비스 생성
Flowchart flowchart = new Flowchart();
flowchart = (Code to fill the flowchart)...
Receive reserveSeat = new Receive();
WorkflowService service = new WorkflowService()
{
Body = flowchart,
Endpoints ={
new Endpoint
{
ServiceContractName="IService",
AddressUri = new Uri("http://localhost:2757"),
Binding = new BasicHttpBinding(),
}
}
};
위의 코드에서 몸 안의 Receive 활동을 추가하고 순서도를 터치하지는 않습니까? 시도했지만
Body = reserveSeat + flowchar,
하지만 작동하지 않습니다. 어떤 아이디어?