WorkflowUpdateableControlClient.SuspendAsync 메서드

정의

비동기 일시 중단 작업을 시작합니다.

오버로드

Name Description
SuspendAsync(Guid)

비동기 일시 중단 작업을 시작합니다.

SuspendAsync(Guid, Object)

비동기 일시 중단 작업을 시작합니다.

SuspendAsync(Guid, String)

비동기 일시 중단 작업을 시작합니다.

SuspendAsync(Guid, String, Object)

비동기 일시 중단 작업을 시작합니다.

SuspendAsync(Guid)

비동기 일시 중단 작업을 시작합니다.

public:
 void SuspendAsync(Guid instanceId);
public void SuspendAsync(Guid instanceId);
member this.SuspendAsync : Guid -> unit
Public Sub SuspendAsync (instanceId As Guid)

매개 변수

instanceId
Guid

일시 중단할 워크플로 인스턴스입니다.

설명

이 메서드는 메서드의 동기 대응이 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 태스크가 대기될 때 해당 예외가 throw됩니다. ArgumentException같은 사용 예외는 여전히 동기적으로 던져집니다. 저장된 예외는 .에 의해 Suspend(Guid)throw된 예외를 참조하세요.

적용 대상

SuspendAsync(Guid, Object)

비동기 일시 중단 작업을 시작합니다.

public:
 void SuspendAsync(Guid instanceId, System::Object ^ userState);
public void SuspendAsync(Guid instanceId, object userState);
member this.SuspendAsync : Guid * obj -> unit
Public Sub SuspendAsync (instanceId As Guid, userState As Object)

매개 변수

instanceId
Guid

일시 중단할 워크플로 인스턴스입니다.

userState
Object

비동기 일시 중단 작업과 관련된 상태 정보를 포함하는 사용자 정의 개체입니다.

적용 대상

SuspendAsync(Guid, String)

비동기 일시 중단 작업을 시작합니다.

public:
 void SuspendAsync(Guid instanceId, System::String ^ reason);
public void SuspendAsync(Guid instanceId, string reason);
member this.SuspendAsync : Guid * string -> unit
Public Sub SuspendAsync (instanceId As Guid, reason As String)

매개 변수

instanceId
Guid

일시 중단할 워크플로 인스턴스입니다.

reason
String

워크플로 인스턴스를 일시 중단하는 이유입니다.

설명

이 메서드는 메서드의 동기 대응이 throw할 수 있는 모든 비사용 예외를 반환하는 작업에 저장됩니다. 예외가 반환된 작업에 저장되면 태스크가 대기될 때 해당 예외가 throw됩니다. ArgumentException같은 사용 예외는 여전히 동기적으로 던져집니다. 저장된 예외는 .에 의해 Suspend(Guid, String)throw된 예외를 참조하세요.

적용 대상

SuspendAsync(Guid, String, Object)

비동기 일시 중단 작업을 시작합니다.

public:
 void SuspendAsync(Guid instanceId, System::String ^ reason, System::Object ^ userState);
public void SuspendAsync(Guid instanceId, string reason, object userState);
member this.SuspendAsync : Guid * string * obj -> unit
Public Sub SuspendAsync (instanceId As Guid, reason As String, userState As Object)

매개 변수

instanceId
Guid

일시 중단할 워크플로 인스턴스입니다.

reason
String

워크플로 인스턴스를 일시 중단하는 이유입니다.

userState
Object

비동기 실행 작업과 연결된 상태 정보를 포함하는 사용자 정의 개체입니다.

적용 대상