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를 사용하여 실행됩니다. 명령은 중첩될 수 있지만 명령은 한 번에 둘 이상의 하위 명령을 실행해서는 안 됩니다.

적용 대상