Beispiel #1
0
        public static TResult End <TResult>(NativeCommon.IFabricAsyncOperationContext nativeContext)
        {
            AsyncTaskCallInAdapter adapter = AsyncTaskCallInAdapter.EndHelper(nativeContext);

            return((adapter.userTask as Task <TResult>).Result);
        }
Beispiel #2
0
 public static void End(NativeCommon.IFabricAsyncOperationContext nativeContext)
 {
     AsyncTaskCallInAdapter.EndHelper(nativeContext);
 }