InstanceStore.BeginExecute 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
와 같은 LoadWorkflowCommandSaveWorkflowCommand지속성 명령을 비동기적으로 실행합니다.
public:
IAsyncResult ^ BeginExecute(System::Runtime::DurableInstancing::InstanceHandle ^ handle, System::Runtime::DurableInstancing::InstancePersistenceCommand ^ command, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginExecute(System.Runtime.DurableInstancing.InstanceHandle handle, System.Runtime.DurableInstancing.InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state);
member this.BeginExecute : System.Runtime.DurableInstancing.InstanceHandle * System.Runtime.DurableInstancing.InstancePersistenceCommand * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginExecute (handle As InstanceHandle, command As InstancePersistenceCommand, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
매개 변수
- handle
- InstanceHandle
인스턴스 핸들입니다.
- command
- InstancePersistenceCommand
실행할 명령입니다.
- timeout
- TimeSpan
명령 실행에 대한 시간 제한 값입니다.
- callback
- AsyncCallback
비동기 작업 완료에 대한 알림을 받는 비동기 콜백 대리자입니다.
- state
- Object
상태 정보입니다.
반품
비동기 작업의 상태입니다.
설명
호스트는 메서드를 BeginExecute 호출하여 인스턴스 핸들에 대해 비동기적으로 지속성 명령을 실행합니다. 호스트는 메서드를 호출하여 인스턴스 핸들을 CreateInstanceHandle 가져옵니다. 인스턴스 핸들은 인스턴스, 인스턴스 소유자 또는 인스턴스 잠금과 같은 명령의 컨텍스트 및 제목을 나타내는 엔터티에 바인딩될 수 있습니다. 인스턴스 핸들에 대해 한 번에 하나의 명령만 실행될 수 있습니다.