InstancePersistenceContext.BeginExecute 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지속성 명령을 비동기적으로 실행하기 시작합니다.
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를 사용하여 실행됩니다. 명령은 중첩될 수 있지만 명령은 한 번에 둘 이상의 하위 명령을 실행해서는 안 됩니다.