다음을 통해 공유


InstancePersistenceContext.BeginExecute 메서드

정의

비동기적 지속성 명령 실행을 시작합니다.

public:
 IAsyncResult ^ BeginExecute(System::Runtime::DurableInstancing::InstancePersistenceCommand ^ command, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginExecute (System.Runtime.DurableInstancing.InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state);
member this.BeginExecute : System.Runtime.DurableInstancing.InstancePersistenceCommand * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginExecute (command As InstancePersistenceCommand, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

매개 변수

command
InstancePersistenceCommand

실행할 지속성 명령입니다.

timeout
TimeSpan

작업의 시간 제한 값입니다.

callback
AsyncCallback

비동기 요청 수신 작업 완료에 대한 알림을 받는 대리자입니다.

state
Object

상태 정보입니다.

반환

비동기 작업의 상태입니다.

설명

지속성 공급자는 이 메서드를 사용하여 하위 명령을 명령의 일부로 실행할 수 있습니다. 하위 명령은 InstanceStore.BeginExecute로 전달된 명령과 유사하게 BeginTryCommand를 사용하여 실행됩니다. 명령을 중첩시킬 수 있지만 명령이 한 번에 둘 이상의 하위 명령을 실행해서는 안 됩니다.

적용 대상