示例#1
0
        public async Task <List <Activity> > GetActivities()
        {
            //var activationContext = FabricRuntime.GetActivationContext();

            IActivityService activityService = ServiceProxy.Create <IActivityService>(ServiceFabricHelpers.ActivitiesServiceUri);

            return(await activityService.All(CancellationToken.None));
        }