Method StartOperation
StartOperation<TObject>(AsyncOperationBase<TObject>, AsyncOperationHandle)
Registers an operation with the ResourceManager. The operation will be executed when the dependency
completes.
This should only be used when creating custom operations.
선언
public AsyncOperationHandle<TObject> StartOperation<TObject>(AsyncOperationBase<TObject> operation, AsyncOperationHandle dependency)
파라미터
타입 | 이름 | 설명 |
---|---|---|
AsyncOperationBase<TObject> | operation | The custom AsyncOperationBase object |
AsyncOperationHandle | dependency | Execution of the operation will not occur until this handle completes. A default handle can be passed if no dependency is required. |
반환
타입 | 설명 |
---|---|
AsyncOperationHandle<TObject> | The AsyncOperationHandle used to access the result and status of the operation. |
타입 파라미터
이름 | 설명 |
---|---|
TObject | Object type associated with this operation. |