WorkflowInstanceManager.CancelInstance 메서드
지정된 워크플로 인스턴스를 취소합니다.
네임스페이스: Microsoft.Workflow.Client
어셈블리: Microsoft.Workflow.Client(Microsoft.Workflow.Client.dll)
구문
‘선언
Public Function CancelInstance ( _
workflowName As String, _
instanceName As String, _
reason As String _
) As WorkflowInstanceResult
‘사용 방법
Dim instance As WorkflowInstanceManager
Dim workflowName As String
Dim instanceName As String
Dim reason As String
Dim returnValue As WorkflowInstanceResult
returnValue = instance.CancelInstance(workflowName, _
instanceName, reason)
public WorkflowInstanceResult CancelInstance(
string workflowName,
string instanceName,
string reason
)
public:
WorkflowInstanceResult^ CancelInstance(
String^ workflowName,
String^ instanceName,
String^ reason
)
member CancelInstance :
workflowName:string *
instanceName:string *
reason:string -> WorkflowInstanceResult
public function CancelInstance(
workflowName : String,
instanceName : String,
reason : String
) : WorkflowInstanceResult
매개 변수
- workflowName
유형: System.String
인스턴스가 속한 워크플로의 이름입니다.
- instanceName
유형: System.String
취소될 워크플로 인스턴스의 이름입니다.
- reason
유형: System.String
인스턴스를 취소하는 이유입니다.
반환 값
유형: Microsoft.Activities.WorkflowInstanceResult
이 작업의 워크플로 인스턴스 결과입니다.