コード例 #1
0
        // Gets the account's migration statuses.

        private async Task <IEnumerable <AccountMigrationStatusesInfo> > GetAccountMigrationStatusesAsync(
            long[] accountIds,
            string migrationType)
        {
            var request = new GetAccountMigrationStatusesRequest
            {
                AccountIds    = accountIds,
                MigrationType = migrationType
            };

            return((await CampaignService.CallAsync((s, r) => s.GetAccountMigrationStatusesAsync(r), request)).MigrationStatuses);
        }
コード例 #2
0
        // Gets the account's migration statuses.

        private async Task<IEnumerable<AccountMigrationStatusesInfo>> GetAccountMigrationStatusesAsync(
            long[] accountIds,
            string migrationType)
        {
            var request = new GetAccountMigrationStatusesRequest
            {
                AccountIds = accountIds,
                MigrationType = migrationType
            };

            return (await CampaignService.CallAsync((s, r) => s.GetAccountMigrationStatusesAsync(r), request)).MigrationStatuses;
        }